Struct tor_cell::chancell::msg::CreatedFast
source · pub struct CreatedFast { /* private fields */ }Expand description
A CreatedFast message responds to a CreateFast message
Relays send this message back to indicate that the CrateFast handshake is complete.
Implementations§
source§impl CreatedFast
impl CreatedFast
source§impl CreatedFast
impl CreatedFast
sourcepub fn into_handshake(self) -> Vec<u8> ⓘ
pub fn into_handshake(self) -> Vec<u8> ⓘ
Consume this message and return the content of this handshake
Trait Implementations§
source§impl Body for CreatedFast
impl Body for CreatedFast
source§fn encode_onto<W: Writer + ?Sized>(self, w: &mut W) -> EncodeResult<()>
fn encode_onto<W: Writer + ?Sized>(self, w: &mut W) -> EncodeResult<()>
Consume this message and encode its body onto
w. Read moresource§fn decode_from_reader(r: &mut Reader<'_>) -> Result<Self>
fn decode_from_reader(r: &mut Reader<'_>) -> Result<Self>
Decode a channel cell body from a provided reader.
source§impl ChanMsg for CreatedFast
impl ChanMsg for CreatedFast
source§fn encode_onto<W: Writer + ?Sized>(self, w: &mut W) -> EncodeResult<()>
fn encode_onto<W: Writer + ?Sized>(self, w: &mut W) -> EncodeResult<()>
Write the body of this message (not including length or command).
source§impl Clone for CreatedFast
impl Clone for CreatedFast
source§fn clone(&self) -> CreatedFast
fn clone(&self) -> CreatedFast
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CreatedFast
impl Debug for CreatedFast
source§impl From<CreatedFast> for AnyChanMsg
impl From<CreatedFast> for AnyChanMsg
source§fn from(m: CreatedFast) -> AnyChanMsg
fn from(m: CreatedFast) -> AnyChanMsg
Converts to this type from the input type.