Struct KernelModuleHandle
pub struct KernelModuleHandle {
loaded: bool,
}Available on Linux or Android only.
Expand description
A handle to the loaded kernel module.
The kernel module is automatically unloaded when the handle is dropped.
Fields§
§loaded: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KernelModuleHandle
impl RefUnwindSafe for KernelModuleHandle
impl Send for KernelModuleHandle
impl Sync for KernelModuleHandle
impl Unpin for KernelModuleHandle
impl UnwindSafe for KernelModuleHandle
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