pub struct CachingDevice { /* private fields */ }Expand description
LRU read-cache wrapper. Wraps any BlockDevice (writable or not).
Implementations§
Trait Implementations§
Source§impl BlockDevice for CachingDevice
impl BlockDevice for CachingDevice
Auto Trait Implementations§
impl !Freeze for CachingDevice
impl !RefUnwindSafe for CachingDevice
impl !UnwindSafe for CachingDevice
impl Send for CachingDevice
impl Sync for CachingDevice
impl Unpin for CachingDevice
impl UnsafeUnpin for CachingDevice
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