pub enum OmahaRequestError {
Json(Error),
HttpBuilder(Error),
CupDecoration(CupDecorationError),
CupValidation(CupVerificationError),
HttpTransport(Error),
HttpStatus(StatusCode),
}
Expand description
This is the set of errors that can occur when making a request to Omaha. This is an internal collection of error types.
Variants§
Json(Error)
HttpBuilder(Error)
CupDecoration(CupDecorationError)
CupValidation(CupVerificationError)
HttpTransport(Error)
HttpStatus(StatusCode)
Trait Implementations§
Source§impl Debug for OmahaRequestError
impl Debug for OmahaRequestError
Source§impl Display for OmahaRequestError
impl Display for OmahaRequestError
Source§impl Error for OmahaRequestError
impl Error for OmahaRequestError
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<CupDecorationError> for OmahaRequestError
impl From<CupDecorationError> for OmahaRequestError
Source§fn from(source: CupDecorationError) -> Self
fn from(source: CupDecorationError) -> Self
Converts to this type from the input type.
Source§impl From<CupVerificationError> for OmahaRequestError
impl From<CupVerificationError> for OmahaRequestError
Source§fn from(source: CupVerificationError) -> Self
fn from(source: CupVerificationError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for OmahaRequestError
impl From<Error> for OmahaRequestError
Source§impl From<Error> for OmahaRequestError
impl From<Error> for OmahaRequestError
Source§impl From<Error> for OmahaRequestError
impl From<Error> for OmahaRequestError
Source§impl From<Error> for OmahaRequestError
impl From<Error> for OmahaRequestError
Source§impl From<OmahaRequestError> for UpdateCheckError
impl From<OmahaRequestError> for UpdateCheckError
Source§fn from(source: OmahaRequestError) -> Self
fn from(source: OmahaRequestError) -> Self
Converts to this type from the input type.
Source§impl From<StatusCode> for OmahaRequestError
impl From<StatusCode> for OmahaRequestError
Source§fn from(sc: StatusCode) -> Self
fn from(sc: StatusCode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OmahaRequestError
impl !RefUnwindSafe for OmahaRequestError
impl Send for OmahaRequestError
impl Sync for OmahaRequestError
impl Unpin for OmahaRequestError
impl !UnwindSafe for OmahaRequestError
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