pub struct RootkitConfig {
pub scan_interval_secs: u64,
pub system_dirs: Vec<PathBuf>,
pub hash_db_path: PathBuf,
pub check_kernel_modules: bool,
pub check_ld_preload: bool,
}Expand description
Configuration for the rootkit detector.
Fields§
§scan_interval_secs: u64§system_dirs: Vec<PathBuf>§hash_db_path: PathBuf§check_kernel_modules: bool§check_ld_preload: boolImplementations§
Trait Implementations§
Source§impl Clone for RootkitConfig
impl Clone for RootkitConfig
Source§fn clone(&self) -> RootkitConfig
fn clone(&self) -> RootkitConfig
Returns a duplicate 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 RootkitConfig
impl Debug for RootkitConfig
Source§impl<'de> Deserialize<'de> for RootkitConfig
impl<'de> Deserialize<'de> for RootkitConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RootkitConfig
impl RefUnwindSafe for RootkitConfig
impl Send for RootkitConfig
impl Sync for RootkitConfig
impl Unpin for RootkitConfig
impl UnsafeUnpin for RootkitConfig
impl UnwindSafe for RootkitConfig
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