Struct tor_dirclient::DirResponse[][src]

pub struct DirResponse { /* fields omitted */ }
Expand description

A successful (or at any rate, well-formed) response to a directory request.

Implementations

Return the HTTP status code for this response.

Return true if this is in incomplete response.

Return the error from this response, if any.

Return the output from this response.

Consume this DirResponse and return the output in it.

Return the source information about this response.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.