Enum sysctl::SysctlError
source · pub enum SysctlError {
}
Variants§
NotFound(String)
UnknownType
ExtractionError
ParseError
MissingImplementation
IoError(Error)
Utf8Error(Utf8Error)
NoReadAccess
NoWriteAccess
NotSupported
ShortRead
InvalidCStr(FromBytesWithNulError)
InvalidCString(NulError)
Trait Implementations§
source§impl Debug for SysctlError
impl Debug for SysctlError
source§impl Display for SysctlError
impl Display for SysctlError
source§impl Error for SysctlError
impl Error for SysctlError
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<Error> for SysctlError
impl From<Error> for SysctlError
source§impl From<FromBytesWithNulError> for SysctlError
impl From<FromBytesWithNulError> for SysctlError
source§fn from(source: FromBytesWithNulError) -> Self
fn from(source: FromBytesWithNulError) -> Self
Converts to this type from the input type.
source§impl From<NulError> for SysctlError
impl From<NulError> for SysctlError
Auto Trait Implementations§
impl !RefUnwindSafe for SysctlError
impl Send for SysctlError
impl Sync for SysctlError
impl Unpin for SysctlError
impl !UnwindSafe for SysctlError
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