#[non_exhaustive]pub struct Vulnerability {
pub name: String,
pub status: VulnStatus,
pub detail: String,
}Expand description
One CPU vulnerability and what the kernel did about it.
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.name: StringThe kernel’s name: "spectre_v2", "meltdown".
status: VulnStatusIts state.
detail: StringThe kernel’s text: "Mitigation: Enhanced / Automatic IBRS".
Trait Implementations§
Source§impl Clone for Vulnerability
impl Clone for Vulnerability
Source§impl Debug for Vulnerability
impl Debug for Vulnerability
impl Eq for Vulnerability
Source§impl Hash for Vulnerability
impl Hash for Vulnerability
Source§impl PartialEq for Vulnerability
impl PartialEq for Vulnerability
impl StructuralPartialEq for Vulnerability
Auto Trait Implementations§
impl Forget for Vulnerability
impl Freeze for Vulnerability
impl RefUnwindSafe for Vulnerability
impl Send for Vulnerability
impl Sync for Vulnerability
impl Unpin for Vulnerability
impl UnsafeUnpin for Vulnerability
impl UnwindSafe for Vulnerability
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