Struct tor_dirclient::SourceInfo
source ·
[−]pub struct SourceInfo { /* fields omitted */ }
Expand description
Information about the source of a directory response.
We use this to remember when a request has failed, so we can abandon the circuit.
(In the future, we will probably want to use this structure to remember that the cache isn’t working.)
Implementations
Return the unique circuit identifier for the circuit on which we received this info.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SourceInfo
impl Send for SourceInfo
impl Sync for SourceInfo
impl Unpin for SourceInfo
impl UnwindSafe for SourceInfo
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