pub struct KernelSupport {
pub landlock_abi: Option<i32>,
pub seccomp_arch: bool,
}Expand description
Facts about the running kernel, for cant check.
Fields§
§landlock_abi: Option<i32>Landlock ABI, if Landlock is available.
seccomp_arch: boolWhether this build can install seccomp filters on this architecture.
Trait Implementations§
Source§impl Clone for KernelSupport
impl Clone for KernelSupport
Source§impl Debug for KernelSupport
impl Debug for KernelSupport
impl Eq for KernelSupport
Source§impl PartialEq for KernelSupport
impl PartialEq for KernelSupport
impl StructuralPartialEq for KernelSupport
Auto Trait Implementations§
impl Forget for KernelSupport
impl Freeze for KernelSupport
impl Move for KernelSupport
impl RefUnwindSafe for KernelSupport
impl Send for KernelSupport
impl Sync for KernelSupport
impl Unpin for KernelSupport
impl UnsafeUnpin for KernelSupport
impl UnwindSafe for KernelSupport
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