pub struct KernelInfo {Show 13 fields
pub sched_policy: String,
pub nice: i32,
pub priority: i32,
pub oom_score: i32,
pub oom_score_adj: i32,
pub cgroup: String,
pub namespaces: Vec<NamespaceEntry>,
pub cap_permitted: String,
pub cap_effective: String,
pub seccomp: u32,
pub voluntary_ctxt_switches: Option<u64>,
pub nonvoluntary_ctxt_switches: Option<u64>,
pub security_label: Option<String>,
}Fields§
§sched_policy: String§nice: i32§priority: i32§oom_score: i32§oom_score_adj: i32§cgroup: String§namespaces: Vec<NamespaceEntry>§cap_permitted: String§cap_effective: String§seccomp: u32§voluntary_ctxt_switches: Option<u64>§nonvoluntary_ctxt_switches: Option<u64>§security_label: Option<String>Optional LSM security label (e.g. AppArmor/SELinux).
Trait Implementations§
Source§impl Clone for KernelInfo
impl Clone for KernelInfo
Source§fn clone(&self) -> KernelInfo
fn clone(&self) -> KernelInfo
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 KernelInfo
impl Debug for KernelInfo
Source§impl<'de> Deserialize<'de> for KernelInfo
impl<'de> Deserialize<'de> for KernelInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KernelInfo
impl RefUnwindSafe for KernelInfo
impl Send for KernelInfo
impl Sync for KernelInfo
impl Unpin for KernelInfo
impl UnsafeUnpin for KernelInfo
impl UnwindSafe for KernelInfo
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