Struct tor_dirclient::DirResponse
source ·
[−]pub struct DirResponse { /* fields omitted */ }Expand description
A successful (or at any rate, well-formed) response to a directory request.
Implementations
Construct a new successful DirResponse from its body.
Return the HTTP status code for this response.
Return true if this is in incomplete response.
Return the output from this response.
Consume this DirResponse and return the output in it.
Return the source information about this response.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DirResponse
impl Send for DirResponse
impl Sync for DirResponse
impl Unpin for DirResponse
impl !UnwindSafe for DirResponse
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
