Enum procfs::ConfigSetting
source · [−]pub enum ConfigSetting {
Yes,
Module,
Value(String),
}
Expand description
Possible values for a kernel config option
Variants
Yes
Module
Value(String)
Trait Implementations
sourceimpl Clone for ConfigSetting
impl Clone for ConfigSetting
sourcefn clone(&self) -> ConfigSetting
fn clone(&self) -> ConfigSetting
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConfigSetting
impl Debug for ConfigSetting
sourceimpl PartialEq<ConfigSetting> for ConfigSetting
impl PartialEq<ConfigSetting> for ConfigSetting
sourcefn eq(&self, other: &ConfigSetting) -> bool
fn eq(&self, other: &ConfigSetting) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ConfigSetting) -> bool
fn ne(&self, other: &ConfigSetting) -> bool
This method tests for !=
.
impl StructuralPartialEq for ConfigSetting
Auto Trait Implementations
impl RefUnwindSafe for ConfigSetting
impl Send for ConfigSetting
impl Sync for ConfigSetting
impl Unpin for ConfigSetting
impl UnwindSafe for ConfigSetting
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more