pub enum LuwenError {
PlatformError(PlatformError),
PciOpenError(PciOpenError),
PciError(PciError),
Custom(String),
}
Variants§
Trait Implementations§
Source§impl Debug for LuwenError
impl Debug for LuwenError
Source§impl Display for LuwenError
impl Display for LuwenError
Source§impl Error for LuwenError
impl Error for LuwenError
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<ArcMsgError> for LuwenError
impl From<ArcMsgError> for LuwenError
Source§fn from(value: ArcMsgError) -> Self
fn from(value: ArcMsgError) -> Self
Converts to this type from the input type.
Source§impl From<AxiError> for LuwenError
impl From<AxiError> for LuwenError
Source§impl From<PciError> for LuwenError
impl From<PciError> for LuwenError
Source§impl From<PciOpenError> for LuwenError
impl From<PciOpenError> for LuwenError
Source§fn from(source: PciOpenError) -> Self
fn from(source: PciOpenError) -> Self
Converts to this type from the input type.
Source§impl From<PlatformError> for LuwenError
impl From<PlatformError> for LuwenError
Source§fn from(source: PlatformError) -> Self
fn from(source: PlatformError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for LuwenError
impl !RefUnwindSafe for LuwenError
impl !Send for LuwenError
impl !Sync for LuwenError
impl Unpin for LuwenError
impl !UnwindSafe for LuwenError
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