pub trait RouterStatus: Sealed {
    type DocumentDigest: Clone;

    fn rsa_identity(&self) -> &RsaIdentity;
    fn doc_digest(&self) -> &Self::DocumentDigest;
}
Expand description

Represents a single relay as listed in a consensus document.

Not implementable outside of the tor-netdoc crate.

Required Associated Types

A digest of the document that’s identified by this RouterStatus.

Required Methods

Return RSA identity for the relay described by this RouterStatus

Return the digest of the document identified by this routerstatus.

Implementors