#[non_exhaustive]pub struct Check {
pub id: &'static str,
pub title: &'static str,
pub status: Status,
pub found: String,
pub recommended: &'static str,
pub why: &'static str,
pub fix: &'static str,
}Expand description
One setting, what it is, and what it should be.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: &'static strA stable id: "linux.thp", "limits.nofile", "fs.atime".
title: &'static strWhat it is: "Transparent huge pages".
status: StatusThe outcome.
found: StringThe value found, or why it could not be read.
recommended: &'static strThe value this profile wants.
why: &'static strWhy it matters, in one sentence.
fix: &'static strThe command or setting that changes it.
Trait Implementations§
impl Eq for Check
impl StructuralPartialEq for Check
Auto Trait Implementations§
impl Forget for Check
impl Freeze for Check
impl RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnsafeUnpin for Check
impl UnwindSafe for Check
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