pub struct SupportedFeatures {
pub compat_ro_supported: CompatRoFlags,
pub compat_ro_safe_set: CompatRoFlags,
pub compat_ro_safe_clear: CompatRoFlags,
pub incompat_supported: IncompatFlags,
pub incompat_safe_set: IncompatFlags,
pub incompat_safe_clear: IncompatFlags,
}Expand description
The feature flags supported by the running kernel.
Each category has three sets: supported (kernel understands the flag),
safe_set (can be enabled at runtime), and safe_clear (can be disabled
at runtime).
Fields§
§compat_ro_supported: CompatRoFlagsCompat_ro flags the kernel understands.
compat_ro_safe_set: CompatRoFlagsCompat_ro flags that can be enabled at runtime.
compat_ro_safe_clear: CompatRoFlagsCompat_ro flags that can be disabled at runtime.
incompat_supported: IncompatFlagsIncompat flags the kernel understands.
incompat_safe_set: IncompatFlagsIncompat flags that can be enabled at runtime.
incompat_safe_clear: IncompatFlagsIncompat flags that can be disabled at runtime.
Trait Implementations§
Source§impl Clone for SupportedFeatures
impl Clone for SupportedFeatures
Source§fn clone(&self) -> SupportedFeatures
fn clone(&self) -> SupportedFeatures
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SupportedFeatures
impl Debug for SupportedFeatures
Source§impl PartialEq for SupportedFeatures
impl PartialEq for SupportedFeatures
impl Copy for SupportedFeatures
impl Eq for SupportedFeatures
impl StructuralPartialEq for SupportedFeatures
Auto Trait Implementations§
impl Freeze for SupportedFeatures
impl RefUnwindSafe for SupportedFeatures
impl Send for SupportedFeatures
impl Sync for SupportedFeatures
impl Unpin for SupportedFeatures
impl UnsafeUnpin for SupportedFeatures
impl UnwindSafe for SupportedFeatures
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