Enum awc::error::FreezeRequestError [−][src]
#[non_exhaustive]
pub enum FreezeRequestError {
Url(InvalidUrl),
Http(HttpError),
Custom(Box<dyn Error>, Box<dyn Debug>),
}
Expand description
A set of errors that can occur during freezing a request
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Url(InvalidUrl)
Tuple Fields
0: InvalidUrl
Invalid URL
Http(HttpError)
Tuple Fields
0: HttpError
HTTP error
Custom(Box<dyn Error>, Box<dyn Debug>)
Other errors that can occur after submitting a request.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for FreezeRequestError
impl !Send for FreezeRequestError
impl !Sync for FreezeRequestError
impl Unpin for FreezeRequestError
impl !UnwindSafe for FreezeRequestError
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