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: Error
Fields of EndpointBuildError
source: Error
Fields of GenericError
source: Error
Fields of RequestBuildError
Fields of ReqwestBuildError
source: Error
Fields of ResponseError
source: Error
Fields of UrlBuildError
source: InvalidUri
Fields of UrlQueryParseError
source: Error
Fields of UrlParseError
source: ParseError
Trait 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