Struct tor_cell::relaycell::msg::Begin [−][src]
pub struct Begin { /* fields omitted */ }
Expand description
A Begin message creates a new data stream.
Upon receiving a Begin message, relays should try to open a new stream for the client, if their exit policy permits, and associate it with a new TCP connection to the target address.
If the exit decides to reject the Begin message, or if the TCP connection fails, the exit should send an End message.
Clients should reject these messags.
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 Begin
impl UnwindSafe for Begin
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