#[non_exhaustive]pub struct Kernel {
pub is_system: Option<bool>,
pub name: Option<String>,
pub path: Option<String>,
pub system_call: Option<String>,
pub type: Option<String>,
pub type_id: Option<i64>,
}Expand description
Kernel Resource
The Kernel Resource object provides information about a specific kernel resource, including its name and type. It describes essential attributes associated with a resource managed by the kernel of an operating system.
[] Category: | Name: kernel
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.is_system: Option<bool>System
The indication of whether the object is part of the operating system.
optional
name: Option<String>Name
The name of the kernel resource.
required
path: Option<String>Path
The full path of the kernel resource.
optional
system_call: Option<String>System Call
The system call that was invoked.
optional
type: Option<String>Type
The type of the kernel resource.
optional
type_id: Option<i64>Type ID
The type of the kernel resource.
required
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Kernel
impl<'de> Deserialize<'de> for Kernel
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
impl StructuralPartialEq for Kernel
Auto Trait Implementations§
impl Freeze for Kernel
impl RefUnwindSafe for Kernel
impl Send for Kernel
impl Sync for Kernel
impl Unpin for Kernel
impl UnwindSafe for Kernel
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