pub struct Connected { /* private fields */ }Expand description
A Connected message is a successful response to a Begin message
When an outgoing connection succeeds, the exit sends a Connected back to the client.
Clients never send Connected messages.
Implementations§
Trait Implementations§
source§impl Body for Connected
impl Body for Connected
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<Connected> for AnyRelayMsg
impl From<Connected> for AnyRelayMsg
source§fn from(m: Connected) -> AnyRelayMsg
fn from(m: Connected) -> AnyRelayMsg
Converts to this type from the input type.