pub enum DropCache {
Default = 0,
PageCache = 1,
Inodes = 2,
All = 3,
Disable = 4,
}
Expand description
drop clean caches, dentries, and inodes from memory, causing that memory to become free.
Variants§
Default = 0
default
PageCache = 1
free pagecache
Inodes = 2
free dentries and inodes
All = 3
free pagecache, dentries and inodes
Disable = 4
disable
Trait Implementations§
impl Copy for DropCache
impl Eq for DropCache
impl StructuralPartialEq for DropCache
Auto Trait Implementations§
impl Freeze for DropCache
impl RefUnwindSafe for DropCache
impl Send for DropCache
impl Sync for DropCache
impl Unpin for DropCache
impl UnwindSafe for DropCache
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