Struct tor_dirclient::request::ConsensusRequest
source ·
[−]pub struct ConsensusRequest { /* fields omitted */ }Expand description
A Request for a consensus directory.
Implementations
Create a new request for a consensus directory document.
Add id to the list of authorities that this request should
say we believe in.
Add d to the list of consensus digests this request should
say we already have.
Set the publication time we should say we have for our last
consensus to when.
Return a slice of the consensus digests that we’re saying we already have.
Return an iterator of the authority identities that this request is saying we believe in.
Return the date we’re reporting for our most recent consensus.
Trait Implementations
Build an http::Request from this Requestable, if
it is well-formed. Read more
Return true if partial downloads are potentially useful. This is true for request types where we’re going to be downloading multiple documents. Read more
Return the maximum allowable response length we’ll accept for this request. Read more
Auto Trait Implementations
impl RefUnwindSafe for ConsensusRequest
impl Send for ConsensusRequest
impl Sync for ConsensusRequest
impl Unpin for ConsensusRequest
impl UnwindSafe for ConsensusRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
