Struct procfs::KernelModule [−][src]
pub struct KernelModule {
pub name: String,
pub size: u32,
pub refcount: i32,
pub used_by: Vec<String>,
pub state: String,
}
Expand description
Details about a loaded kernel module
For an example, see the lsmod.rs example in the source repo.
Fields
name: String
The name of the module
size: u32
The size of the module
refcount: i32
The number of references in the kernel to this module. This can be -1 if the module is unloading
used_by: Vec<String>
A list of modules that depend on this module.
state: String
The module state
This will probably always be “Live”, but it could also be either “Unloading” or “Loading”
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KernelModule
impl Send for KernelModule
impl Sync for KernelModule
impl Unpin for KernelModule
impl UnwindSafe for KernelModule
Blanket Implementations
Mutably borrows from an owned value. Read more