Struct tor_cell::relaycell::msg::Extend2 [−][src]
pub struct Extend2 { /* fields omitted */ }
Expand description
An Extend2 message tells the last relay in a circuit to extend to a new hop.
When a relay (call it R) receives an Extend2 message, it tries to find (or make) a channel to the other relay (R’) described in the list of link specifiers. (A link specifier can be an IP addresses or a cryptographic identity). Once R has such a channel, the it packages the client’s handshake data as a new Create2 message R’. If R’ replies with a Created2 (success) message, R packages that message’s contents in an Extended message. Unlike Extend messages, Extend2 messages can encode any handshake type, and can describe relays in ways other than IPv4 addresses and RSA identities.
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 Extend2
impl UnwindSafe for Extend2
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