pub struct CheckResult {
pub name: &'static str,
pub description: &'static str,
pub matched: bool,
}Available on crate feature
diagnostics only.Expand description
The outcome of a single detection check.
Fields§
§name: &'static strShort, stable identifier (e.g. "pid_namespace",
"pid_one", "wsl", "cgroup").
description: &'static strHuman-readable description of what the check inspects.
matched: booltrue if this check, in isolation, indicates that the
process is inside a container.
Trait Implementations§
Source§impl Clone for CheckResult
impl Clone for CheckResult
Source§fn clone(&self) -> CheckResult
fn clone(&self) -> CheckResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CheckResult
impl Debug for CheckResult
Source§impl Hash for CheckResult
impl Hash for CheckResult
Source§impl PartialEq for CheckResult
impl PartialEq for CheckResult
Source§fn eq(&self, other: &CheckResult) -> bool
fn eq(&self, other: &CheckResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CheckResult
impl StructuralPartialEq for CheckResult
Auto Trait Implementations§
impl Freeze for CheckResult
impl RefUnwindSafe for CheckResult
impl Send for CheckResult
impl Sync for CheckResult
impl Unpin for CheckResult
impl UnsafeUnpin for CheckResult
impl UnwindSafe for CheckResult
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