Struct tor_cell::relaycell::msg::Truncated [−][src]
pub struct Truncated { /* fields omitted */ }Expand description
A Truncated message is sent to the client when the remaining hops of a circuit have gone away.
NOTE: Current Tor implementations often treat Truncated messages and Destroy messages interchangeably. Truncated was intended to be a “soft” Destroy, that would leave the unaffected parts of a circuit still usable.
Implementations
Construct a new truncated message.
Trait Implementations
Convert this type into a RelayMsg, wrapped appropriate.
Decode a relay cell body from a provided reader.
Encode the body of this cell into the end of a vec.
Auto Trait Implementations
impl RefUnwindSafe for Truncated
impl UnwindSafe for Truncated
Blanket Implementations
Mutably borrows from an owned value. Read more