pub enum OdiliaError {
Show 13 variants
AtspiError(AtspiError),
PrimitiveConversionError(AccessiblePrimitiveConversionError),
NoAttributeError(String),
SerdeError(Error),
Zbus(Error),
ZbusFdo(Error),
Zvariant(Error),
Cache(CacheError),
InfallibleConversion(Infallible),
ConversionError(TryFromIntError),
Config(ConfigError),
PoisoningError,
Generic(String),
}Variants§
AtspiError(AtspiError)
PrimitiveConversionError(AccessiblePrimitiveConversionError)
NoAttributeError(String)
SerdeError(Error)
Zbus(Error)
ZbusFdo(Error)
Zvariant(Error)
Cache(CacheError)
InfallibleConversion(Infallible)
ConversionError(TryFromIntError)
Config(ConfigError)
PoisoningError
Generic(String)
Trait Implementations§
Source§impl Debug for OdiliaError
impl Debug for OdiliaError
Source§impl Display for OdiliaError
impl Display for OdiliaError
Source§impl Error for OdiliaError
impl Error for OdiliaError
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<AccessiblePrimitiveConversionError> for OdiliaError
impl From<AccessiblePrimitiveConversionError> for OdiliaError
Source§fn from(apc_error: AccessiblePrimitiveConversionError) -> Self
fn from(apc_error: AccessiblePrimitiveConversionError) -> Self
Converts to this type from the input type.
Source§impl From<AtspiError> for OdiliaError
impl From<AtspiError> for OdiliaError
Source§fn from(err: AtspiError) -> OdiliaError
fn from(err: AtspiError) -> OdiliaError
Converts to this type from the input type.
Source§impl From<CacheError> for OdiliaError
impl From<CacheError> for OdiliaError
Source§fn from(cache_error: CacheError) -> Self
fn from(cache_error: CacheError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for OdiliaError
impl From<Error> for OdiliaError
Source§impl From<Error> for OdiliaError
impl From<Error> for OdiliaError
Source§impl From<Error> for OdiliaError
impl From<Error> for OdiliaError
Source§impl From<Error> for OdiliaError
impl From<Error> for OdiliaError
Source§fn from(spe: SerdePlainError) -> Self
fn from(spe: SerdePlainError) -> Self
Converts to this type from the input type.
Source§impl From<Infallible> for OdiliaError
impl From<Infallible> for OdiliaError
Source§fn from(infallible: Infallible) -> Self
fn from(infallible: Infallible) -> Self
Converts to this type from the input type.
Source§impl<T> From<PoisonError<T>> for OdiliaError
impl<T> From<PoisonError<T>> for OdiliaError
Source§fn from(_: PoisonError<T>) -> Self
fn from(_: PoisonError<T>) -> Self
Converts to this type from the input type.
Source§impl From<TryFromIntError> for OdiliaError
impl From<TryFromIntError> for OdiliaError
Source§fn from(fie: TryFromIntError) -> Self
fn from(fie: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OdiliaError
impl !RefUnwindSafe for OdiliaError
impl Send for OdiliaError
impl Sync for OdiliaError
impl Unpin for OdiliaError
impl !UnwindSafe for OdiliaError
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