pub enum LinuxError {
CorruptedStruct(&'static str),
}
Expand description
Error types for Linux operations.
Variants§
Trait Implementations§
Source§impl Debug for LinuxError
impl Debug for LinuxError
Source§impl Display for LinuxError
impl Display for LinuxError
Source§impl Error for LinuxError
impl Error for LinuxError
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<LinuxError> for VmiError
impl From<LinuxError> for VmiError
Source§fn from(value: LinuxError) -> Self
fn from(value: LinuxError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LinuxError
impl RefUnwindSafe for LinuxError
impl Send for LinuxError
impl Sync for LinuxError
impl Unpin for LinuxError
impl UnwindSafe for LinuxError
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