Enum open_library::OpenLibraryError [−][src]
pub enum OpenLibraryError {
ApiError {
status_code: StatusCode,
error: Option<OpenLibraryErrorResponse>,
},
ClientBuildingError {
source: Error,
},
InternalError {
reason: String,
},
JsonParseError {
source: Error,
},
NotAuthenticated {
reason: String,
},
ParsingError {
reason: String,
},
RequestFailed {
source: Error,
},
}Variants
ApiError
ClientBuildingError
Fields
source: ErrorInternalError
Fields
reason: StringJsonParseError
Fields
source: ErrorNotAuthenticated
Fields
reason: StringParsingError
Fields
reason: StringRequestFailed
Fields
source: ErrorTrait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for OpenLibraryError
impl Send for OpenLibraryError
impl Sync for OpenLibraryError
impl Unpin for OpenLibraryError
impl !UnwindSafe for OpenLibraryError
Blanket Implementations
Mutably borrows from an owned value. 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