pub enum CupDecorationError {
SerializationError(Error),
ParseError(InvalidUri),
AppendQueryParameterError(Error),
}
Expand description
Error enum listing different kinds of CUPv2 decoration errors.
Variants§
Trait Implementations§
source§impl Debug for CupDecorationError
impl Debug for CupDecorationError
source§impl Display for CupDecorationError
impl Display for CupDecorationError
source§impl Error for CupDecorationError
impl Error for CupDecorationError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 Error
impl From<CupDecorationError> for Error
source§fn from(source: CupDecorationError) -> Self
fn from(source: CupDecorationError) -> Self
Converts to this type from the input type.
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<Error> for CupDecorationError
impl From<Error> for CupDecorationError
source§impl From<Error> for CupDecorationError
impl From<Error> for CupDecorationError
source§impl From<InvalidUri> for CupDecorationError
impl From<InvalidUri> for CupDecorationError
source§fn from(source: InvalidUri) -> Self
fn from(source: InvalidUri) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CupDecorationError
impl !RefUnwindSafe for CupDecorationError
impl Send for CupDecorationError
impl Sync for CupDecorationError
impl Unpin for CupDecorationError
impl !UnwindSafe for CupDecorationError
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