pub struct CreateFast { /* private fields */ }
Expand description
A CreateFast message creates a circuit using no public-key crypto.
CreateFast is safe only when used on an already-secure TLS connection. It can only be used for the first hop of a circuit.
Relays reply to a CreateFast message with CreatedFast on success, or a Destroy message on failure.
This handshake was originally used for the first hop of every circuit. Nowadays it is used for creating one-hop circuits when we don’t know any onion key for the first hop.
Implementations
sourceimpl CreateFast
impl CreateFast
Trait Implementations
sourceimpl Body for CreateFast
impl Body for CreateFast
sourcefn into_message(self) -> ChanMsg
fn into_message(self) -> ChanMsg
Convert this type into a ChanMsg, wrapped as appropriate.
sourceimpl Clone for CreateFast
impl Clone for CreateFast
sourcefn clone(&self) -> CreateFast
fn clone(&self) -> CreateFast
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateFast
impl Debug for CreateFast
Auto Trait Implementations
impl RefUnwindSafe for CreateFast
impl Send for CreateFast
impl Sync for CreateFast
impl Unpin for CreateFast
impl UnwindSafe for CreateFast
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more