pub struct Ext4Store<D: Device> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<D: Device> PagedObjectStore for Ext4Store<D>
impl<D: Device> PagedObjectStore for Ext4Store<D>
async fn create_object(&self, id: ObjID) -> Result<()>
async fn delete_object(&self, id: ObjID) -> Result<()>
async fn len(&self, id: ObjID) -> Result<u64>
async fn read_object( &self, id: ObjID, offset: u64, buf: &mut [u8], ) -> Result<usize>
async fn write_object(&self, id: ObjID, offset: u64, buf: &[u8]) -> Result<()>
async fn page_in_object<'a>( &self, id: ObjID, reqs: &'a mut [PageRequest], ) -> Result<usize>
async fn page_out_object<'a>( &self, id: ObjID, reqs: &'a mut [PageRequest], ) -> Result<usize>
async fn enumerate_external(&self, id: ObjID) -> Result<Vec<ExternalFile>>
async fn find_external(&self, id: ObjID) -> Result<usize>
async fn get_config_id(&self) -> Result<ObjID>
async fn set_config_id(&self, id: ObjID) -> Result<()>
async fn flush(&self) -> Result<()>
Auto Trait Implementations§
impl<D> !Freeze for Ext4Store<D>
impl<D> !ObjSafe for Ext4Store<D>
impl<D> RefUnwindSafe for Ext4Store<D>where
D: RefUnwindSafe,
impl<D> Send for Ext4Store<D>
impl<D> !StoreCopy for Ext4Store<D>
impl<D> Sync for Ext4Store<D>
impl<D> Unpin for Ext4Store<D>where
D: Unpin,
impl<D> UnwindSafe for Ext4Store<D>where
D: UnwindSafe,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more