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.