Struct dpdk_unix::android_linux::linux_kernel_modules::LinuxKernelModulesList[][src]

pub struct LinuxKernelModulesList(_);

A list of Linux kernel modules loaded on the system.

Is not updated if a module is loaded or unloaded.

Methods

impl LinuxKernelModulesList
[src]

Unloads a Linux kernel module.

Does not use modprobe.

true if unloaded. false if does not exist.

Loads a Linux Kernel Module.

Does not use modprobe.

Returns true if loaded. Returns false if permissions error occurred (eg was not root).

linux_kernel_module_path normally ends in a '.ko' file extension, but this is not enforced.

Loads a Linux Kernel Module.

module_file_base_name excludes the .ko file extension.

Does not use modprobe.

Returns true if loaded. Returns false if already loaded.

Updates the list of loaded modules.

Loads a module if absent from the Kernel.

Uses modprobe.

Updates the list of loaded modules.

Is the linux_kernel_module_name loaded?

Trait Implementations

impl Debug for LinuxKernelModulesList
[src]

Formats the value using the given formatter. Read more

impl Clone for LinuxKernelModulesList
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for LinuxKernelModulesList
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for LinuxKernelModulesList
[src]

Auto Trait Implementations