Struct tor_cell::relaycell::msg::Data [−][src]
pub struct Data { /* fields omitted */ }
Expand description
A Data message represents data sent along a stream.
Upon receiving a Data message for a live stream, the client or exit sends that data onto the associated TCP connection.
These messages hold between 1 and Data::MAXLEN bytes of data each; they are the most numerous messages on the Tor network.
Implementations
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 Data
impl UnwindSafe for Data
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V