Struct dpdk_unix::android_linux::modules::ModulesList
[−]
[src]
pub struct ModulesList(_);
Methods
impl ModulesList
[src]
fn unload(moduleName: &str) -> Result<bool, Error>
true if unloaded, false if does not exist
fn loadModuleFromKoFile(modulePath: &Path) -> Result<bool, Error>
fn loadModuleIfAbsentFromKoFile(
&self,
moduleName: &str,
moduleFileBaseName: &str,
modulesPath: &Path
) -> Result<bool, Error>
&self,
moduleName: &str,
moduleFileBaseName: &str,
modulesPath: &Path
) -> Result<bool, Error>
true if loaded
fn loadModuleIfAbsent(
&self,
moduleName: &str,
moduleFileBaseName: &str
) -> Result<(), ModProbeError>
&self,
moduleName: &str,
moduleFileBaseName: &str
) -> Result<(), ModProbeError>
fn hasAfPacket(&self) -> bool
fn hasVirtioNet(&self) -> bool
fn hasKni(&self) -> bool
fn hasVfioPci(&self) -> bool
fn hasModule(&self, moduleName: &str) -> bool
fn parse(procPath: &Path) -> Result<Self, ModulesListParseError>
Trait Implementations
impl Debug for ModulesList
[src]
impl Clone for ModulesList
[src]
fn clone(&self) -> ModulesList
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for ModulesList
[src]
fn eq(&self, __arg_0: &ModulesList) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ModulesList) -> bool
This method tests for !=
.