pub struct KernelObjRecord {
pub provider: Option<Provider>,
pub koid: u64,
pub ty: KernelObjType,
pub name: FlyStr,
pub args: Vec<Arg>,
}
Fields§
§provider: Option<Provider>
§koid: u64
§ty: KernelObjType
§name: FlyStr
§args: Vec<Arg>
Implementations§
Source§impl KernelObjRecord
impl KernelObjRecord
Sourcepub fn process(&self) -> Option<ProcessKoid>
pub fn process(&self) -> Option<ProcessKoid>
By convention kobj records have a “process” arg which lists the process koid.
Trait Implementations§
Source§impl Clone for KernelObjRecord
impl Clone for KernelObjRecord
Source§fn clone(&self) -> KernelObjRecord
fn clone(&self) -> KernelObjRecord
Returns a copy 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 KernelObjRecord
impl Debug for KernelObjRecord
Source§impl PartialEq for KernelObjRecord
impl PartialEq for KernelObjRecord
impl StructuralPartialEq for KernelObjRecord
Auto Trait Implementations§
impl Freeze for KernelObjRecord
impl RefUnwindSafe for KernelObjRecord
impl Send for KernelObjRecord
impl Sync for KernelObjRecord
impl Unpin for KernelObjRecord
impl UnwindSafe for KernelObjRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)