pub struct Create { /* private fields */ }Expand description
A Create message creates a circuit, using the TAP handshake.
TAP is an obsolete handshake based on RSA-1024 and DH-1024. Relays respond to Create message with a Created reply on success, or a Destroy message on failure.
In Tor today, Create is only used for the deprecated v2 onion service protocol.
Implementations
Trait Implementations
sourceimpl Body for Create
impl Body for Create
sourcefn into_message(self) -> ChanMsg
fn into_message(self) -> ChanMsg
Convert this type into a ChanMsg, wrapped as appropriate.
sourcefn write_body_onto<W: Writer + ?Sized>(self, w: &mut W) -> EncodeResult<()>
fn write_body_onto<W: Writer + ?Sized>(self, w: &mut W) -> EncodeResult<()>
Consume this message and encode its body onto
w. Read moreAuto Trait Implementations
impl RefUnwindSafe for Create
impl Send for Create
impl Sync for Create
impl Unpin for Create
impl UnwindSafe for Create
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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