Struct tor_dirclient::request::ConsensusRequest [−][src]
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 ConsensusRequestimpl Send for ConsensusRequestimpl Sync for ConsensusRequestimpl Unpin for ConsensusRequestimpl UnwindSafe for ConsensusRequestBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V