Enum rustify::errors::ClientError [−][src]
pub enum ClientError {
Show 13 variants
DataParseError {
source: Error,
},
EndpointBuildError {
source: Error,
},
GenericError {
source: Error,
},
RequestError {
source: Error,
url: String,
method: String,
},
RequestBuildError {
source: Error,
method: RequestMethod,
url: String,
},
ReqwestBuildError {
source: Error,
},
ResponseError {
source: Error,
},
ResponseConversionError {
source: Error,
content: Vec<u8>,
},
ResponseParseError {
source: Error,
content: Option<String>,
},
ServerResponseError {
code: u16,
content: Option<String>,
},
UrlBuildError {
source: InvalidUri,
},
UrlQueryParseError {
source: Error,
},
UrlParseError {
source: ParseError,
},
}Expand description
The general error type returned by this crate
Variants
Fields of DataParseError
source: ErrorFields of EndpointBuildError
source: ErrorFields of GenericError
source: ErrorFields of RequestBuildError
Fields of ReqwestBuildError
source: ErrorFields of ResponseError
source: ErrorFields of UrlBuildError
source: InvalidUriFields of UrlQueryParseError
source: ErrorFields of UrlParseError
source: ParseErrorTrait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl !UnwindSafe for ClientError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
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