Struct tor_linkspec::OwnedChanTarget [−][src]
pub struct OwnedChanTarget { /* fields omitted */ }Expand description
OwnedChanTarget is a summary of a ChanTarget that owns all of its
members.
Implementations
pub fn new(
addrs: Vec<SocketAddr>,
ed_identity: Ed25519Identity,
rsa_identity: RsaIdentity
) -> Self
pub fn new(
addrs: Vec<SocketAddr>,
ed_identity: Ed25519Identity,
rsa_identity: RsaIdentity
) -> Self
Construct a new OwnedChanTarget from its parts.
Construct a OwnedChanTarget from a given ChanTarget.
Trait Implementations
Return the addresses at which you can connect to this relay
Return the ed25519 identity for this relay.
Return the RSA identity for this relay.
Return the ed25519 identity key for this relay, if it is valid. Read more
Return a new OwnedChanTarget
containing a copy of the information in this ChanTarget. Read more
Auto Trait Implementations
impl RefUnwindSafe for OwnedChanTarget
impl Send for OwnedChanTarget
impl Sync for OwnedChanTarget
impl Unpin for OwnedChanTarget
impl UnwindSafe for OwnedChanTarget
Blanket Implementations
Mutably borrows from an owned value. Read more