#[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.
Auto Trait Implementations§
impl Freeze for Truncate
impl RefUnwindSafe for Truncate
impl Send for Truncate
impl Sync for Truncate
impl Unpin for Truncate
impl UnwindSafe for Truncate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more