Struct tor_netdoc::doc::netstatus::MdConsensusRouterStatus
source ·
[−]pub struct MdConsensusRouterStatus { /* fields omitted */ }
Expand description
A single relay’s status, as represented in a microdesc consensus.
Implementations
Return an iterator of ORPort addresses for this routerstatus
Return the declared weight of this routerstatus in the directory.
Return the ORPort addresses of this routerstatus
Return the protovers that this routerstatus says it implements.
Return the relay flags of this routerstatus.
Return true if the ed25519 identity on this relay reflects a true consensus among the authorities.
Return true if this routerstatus is listed with the BadExit flag.
Return true if this routerstatus is listed with the v2dir flag.
Return true if this routerstatus is listed with the Exit flag.
Return true if this routerstatus is listed with the Guard flag.
Trait Implementations
Return the expected microdescriptor digest for this routerstatus
type DocumentDigest = MdDigest
type DocumentDigest = MdDigest
A digest of the document that’s identified by this RouterStatus.
Return the digest of the document identified by this routerstatus. Read more
Auto Trait Implementations
impl RefUnwindSafe for MdConsensusRouterStatus
impl Send for MdConsensusRouterStatus
impl Sync for MdConsensusRouterStatus
impl Unpin for MdConsensusRouterStatus
impl UnwindSafe for MdConsensusRouterStatus
Blanket Implementations
Mutably borrows from an owned value. Read more