pub struct BlockCache(/* private fields */);Implementations§
Source§impl BlockCache
impl BlockCache
pub fn new() -> BlockCache
pub fn clear(&mut self)
pub fn read_single( &mut self, dev: &Storage<impl BlockDevice>, b: &mut Block, pos: u32, ) -> Result<(), DeviceError>
Trait Implementations§
Source§impl Default for BlockCache
impl Default for BlockCache
Source§fn default() -> BlockCache
fn default() -> BlockCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BlockCache
impl RefUnwindSafe for BlockCache
impl Send for BlockCache
impl Sync for BlockCache
impl Unpin for BlockCache
impl UnwindSafe for BlockCache
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