Struct rcore_fs::dev::block_cache::BlockCache [−][src]
Implementations
impl<T: BlockDevice> BlockCache<T>[src]
Trait Implementations
impl<T: BlockDevice> BlockDevice for BlockCache<T>[src]
const BLOCK_SIZE_LOG2: u8[src]
fn read_at(&self, block_id: BlockId, buffer: &mut [u8]) -> Result<()>[src]
fn write_at(&self, block_id: BlockId, buffer: &[u8]) -> Result<()>[src]
fn sync(&self) -> Result<()>[src]
impl<T: BlockDevice> Drop for BlockCache<T>[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for BlockCache<T>
impl<T> Send for BlockCache<T>
impl<T> Sync for BlockCache<T>
impl<T> Unpin for BlockCache<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for BlockCache<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Device for T where
T: BlockDevice, [src]
T: BlockDevice,
pub fn read_at(&Self, usize, &mut [u8]) -> Result<usize, DevError>[src]
pub fn write_at(&Self, usize, &[u8]) -> Result<usize, DevError>[src]
pub fn sync(&Self) -> Result<(), DevError>[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,