pub enum ServiceCheckError {
RequestPending {
history_id: String,
ulid: String,
},
InvalidImeiNumber,
MissingApiKey,
InvalidApiKey {
detail: String,
},
InvalidServiceID,
UnknownRequestError {
error: Error,
},
UnknownApiError {
error: Response,
},
}Variants§
RequestPending
InvalidImeiNumber
MissingApiKey
InvalidApiKey
InvalidServiceID
UnknownRequestError
UnknownApiError
Trait Implementations§
Source§impl Debug for ServiceCheckError
impl Debug for ServiceCheckError
Source§impl Display for ServiceCheckError
impl Display for ServiceCheckError
Source§impl Error for ServiceCheckError
impl Error for ServiceCheckError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for ServiceCheckError
impl From<Error> for ServiceCheckError
Source§fn from(error: ReqwestError) -> Self
fn from(error: ReqwestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ServiceCheckError
impl !UnwindSafe for ServiceCheckError
impl Freeze for ServiceCheckError
impl Send for ServiceCheckError
impl Sync for ServiceCheckError
impl Unpin for ServiceCheckError
impl UnsafeUnpin for ServiceCheckError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more