pub struct BlockEntryIter { /* private fields */ }Implementations§
Source§impl BlockEntryIter
impl BlockEntryIter
pub fn new(count: u8) -> BlockEntryIter
pub fn pos(&self) -> u32
pub fn is_loaded(&self) -> bool
pub fn in_scope(&self, pos: u32) -> bool
pub fn buffer(&mut self, pos: u32) -> &mut [u8]
pub fn flush( &mut self, dev: &Storage<impl BlockDevice>, ) -> Result<(), DeviceError>
pub fn load( &mut self, dev: &Storage<impl BlockDevice>, pos: u32, ) -> Result<(), DeviceError>
pub fn load_and_flush( &mut self, dev: &Storage<impl BlockDevice>, pos: u32, ) -> Result<(), DeviceError>
Auto Trait Implementations§
impl Freeze for BlockEntryIter
impl RefUnwindSafe for BlockEntryIter
impl Send for BlockEntryIter
impl Sync for BlockEntryIter
impl Unpin for BlockEntryIter
impl UnwindSafe for BlockEntryIter
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