#[non_exhaustive]pub struct Truncate {}Expand description
Tells a circuit to close all downstream hops on the circuit.
Trait Implementations§
source§impl Body for Truncate
impl Body for Truncate
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<Truncate> for AnyRelayMsg
impl From<Truncate> for AnyRelayMsg
source§fn from(m: Truncate) -> AnyRelayMsg
fn from(m: Truncate) -> AnyRelayMsg
Converts to this type from the input type.