Struct tor_cell::relaycell::msg::Unrecognized
source · pub struct Unrecognized { /* private fields */ }Expand description
A relay message that we didn’t recognize
NOTE: Clients should generally reject these.
Implementations§
Trait Implementations§
source§impl Body for Unrecognized
impl Body for Unrecognized
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 Clone for Unrecognized
impl Clone for Unrecognized
source§fn clone(&self) -> Unrecognized
fn clone(&self) -> Unrecognized
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 Unrecognized
impl Debug for Unrecognized
source§impl From<Unrecognized> for AnyRelayMsg
impl From<Unrecognized> for AnyRelayMsg
source§fn from(u: Unrecognized) -> AnyRelayMsg
fn from(u: Unrecognized) -> AnyRelayMsg
Converts to this type from the input type.