Enum actix_http::client::FreezeRequestError [−][src]
#[non_exhaustive]
pub enum FreezeRequestError {
Url(InvalidUrl),
Http(HttpError),
Custom(Box<dyn StdError>, 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)Invalid URL
Tuple Fields of Url
0: InvalidUrlHttp(HttpError)HTTP error
Tuple Fields of Http
0: HttpErrorOther 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