Enum azure_core::HttpError
source · [−]#[non_exhaustive]
pub enum HttpError {
StatusCode {
status: StatusCode,
body: String,
},
Utf8(Utf8Error),
BuildClientRequest(Error),
ExecuteRequest(Error),
ReadBytes(Error),
BuildResponse(Error),
StreamReset(StreamError),
}
Expand description
An error originating from an HTTP client.
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.
StatusCode
Utf8(Utf8Error)
BuildClientRequest(Error)
ExecuteRequest(Error)
ReadBytes(Error)
BuildResponse(Error)
StreamReset(StreamError)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for HttpError
impl !UnwindSafe for HttpError
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