pub enum ResponseParseError {
Utf8(Utf8Error),
Json(Error),
}
Expand description
This is the set of errors that can occur when parsing the response body from Omaha. This is an internal collection of error types.
Variants§
Trait Implementations§
Source§impl Debug for ResponseParseError
impl Debug for ResponseParseError
Source§impl Display for ResponseParseError
impl Display for ResponseParseError
Source§impl Error for ResponseParseError
impl Error for ResponseParseError
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 ResponseParseError
impl From<Error> for ResponseParseError
Source§impl From<ResponseParseError> for UpdateCheckError
impl From<ResponseParseError> for UpdateCheckError
Source§fn from(source: ResponseParseError) -> Self
fn from(source: ResponseParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResponseParseError
impl !RefUnwindSafe for ResponseParseError
impl Send for ResponseParseError
impl Sync for ResponseParseError
impl Unpin for ResponseParseError
impl !UnwindSafe for ResponseParseError
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