pub trait CircTarget: ChanTarget {
    fn ntor_onion_key(&self) -> &PublicKey;
    fn protovers(&self) -> &Protocols;

    fn linkspecs(&self) -> Vec<LinkSpec> { ... }
}
Expand description

Information about a Tor relay used to extend a circuit to it.

Anything that implements ‘CircTarget’ can be used as the identity of a relay for the purposes of extending a circuit.

Required Methods

Return the ntor onion key for this relay

Return the subprotocols implemented by this relay.

Provided Methods

Return a new vector of link specifiers for this relay.

Implementors