pub struct Extended2 { /* private fields */ }Expand description
Extended2 is a successful reply to an Extend2 message.
Extended2 messages are generated by the former last hop of a circuit, to tell the client that they have successfully completed a handshake on the client’s behalf.
Implementations§
Trait Implementations§
source§impl Body for Extended2
impl Body for Extended2
source§fn decode_from_reader(r: &mut Reader<'_>) -> Result<Self>
fn decode_from_reader(r: &mut Reader<'_>) -> Result<Self>
Decode a relay cell body from a provided reader.
source§fn encode_onto<W: Writer + ?Sized>(self, w: &mut W) -> EncodeResult<()>
fn encode_onto<W: Writer + ?Sized>(self, w: &mut W) -> EncodeResult<()>
Encode the body of this cell into the end of a writer.
source§impl From<Extended2> for AnyRelayMsg
impl From<Extended2> for AnyRelayMsg
source§fn from(m: Extended2) -> AnyRelayMsg
fn from(m: Extended2) -> AnyRelayMsg
Converts to this type from the input type.