pub struct FilterCache {
pub entries: HashMap<u64, FilterCacheEntry>,
}Expand description
Cached filter results for persistence across sessions.
Fields§
§entries: HashMap<u64, FilterCacheEntry>Map of ext4 inode -> (md5_hash, is_known)
Implementations§
Trait Implementations§
Source§impl Debug for FilterCache
impl Debug for FilterCache
Source§impl Default for FilterCache
impl Default for FilterCache
Source§fn default() -> FilterCache
fn default() -> FilterCache
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FilterCache
impl<'de> Deserialize<'de> for FilterCache
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 FilterCache
impl RefUnwindSafe for FilterCache
impl Send for FilterCache
impl Sync for FilterCache
impl Unpin for FilterCache
impl UnsafeUnpin for FilterCache
impl UnwindSafe for FilterCache
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more