pub enum LinuxProviderError {
UnknownEntity(String),
ProcFs(String),
Io(Error),
}Expand description
Errors produced by the Linux provider.
Variants§
UnknownEntity(String)
The requested entity name is not supported by this provider.
ProcFs(String)
An error originating from the procfs library.
Io(Error)
A standard I/O error.
Trait Implementations§
Source§impl Debug for LinuxProviderError
impl Debug for LinuxProviderError
Source§impl Display for LinuxProviderError
impl Display for LinuxProviderError
Source§impl Error for LinuxProviderError
impl Error for LinuxProviderError
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 LinuxProviderError
impl From<Error> for LinuxProviderError
Auto Trait Implementations§
impl !RefUnwindSafe for LinuxProviderError
impl !UnwindSafe for LinuxProviderError
impl Freeze for LinuxProviderError
impl Send for LinuxProviderError
impl Sync for LinuxProviderError
impl Unpin for LinuxProviderError
impl UnsafeUnpin for LinuxProviderError
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