pub struct Created2 { /* private fields */ }Expand description
A Created2 message completes a circuit-creation handshake.
When a relay receives a valid Create2 message that it can handle, it establishes the circuit and replies with a Created2.
Implementations
Trait Implementations
sourceimpl Body for Created2
impl Body for Created2
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 Created2
impl Send for Created2
impl Sync for Created2
impl Unpin for Created2
impl UnwindSafe for Created2
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