Struct tor_cell::relaycell::RelayCell [−][src]
pub struct RelayCell { /* fields omitted */ }
Expand description
A decoded and parsed relay cell.
Each relay cell represents a message that can be sent along a circuit, along with the ID for an associated stream that the message is meant for.
Implementations
Consume this cell and return its components.
Consume this relay message and encode it as a 509-byte padded cell body.
Parse a RELAY or RELAY_EARLY cell body into a RelayCell.
Requires that the cryptographic checks on the message have already been performed
Parse a RELAY or RELAY_EARLY cell body into a RelayCell from a reader.
Requires that the cryptographic checks on the message have already been performed
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RelayCell
impl UnwindSafe for RelayCell