pub struct Ext4Store { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl PagedObjectStore for Ext4Store
impl PagedObjectStore for Ext4Store
fn create_object(&self, id: ObjID) -> Result<()>
fn delete_object(&self, id: ObjID) -> Result<()>
fn len(&self, id: ObjID) -> Result<u64>
fn read_object(&self, id: ObjID, offset: u64, buf: &mut [u8]) -> Result<usize>
fn write_object(&self, id: ObjID, offset: u64, buf: &[u8]) -> Result<()>
fn get_config_id(&self) -> Result<ObjID>
fn set_config_id(&self, id: ObjID) -> Result<()>
fn flush(&self) -> Result<()>
fn page_in_object<'a>( &self, id: ObjID, reqs: &'a mut [PageRequest], ) -> Result<usize>
fn page_out_object<'a>( &self, id: ObjID, reqs: &'a mut [PageRequest], ) -> Result<usize>
fn enumerate_external(&self, id: ObjID) -> Result<Vec<ExternalFile>>
fn find_external(&self, id: ObjID) -> Result<usize>
Auto Trait Implementations§
impl !Freeze for Ext4Store
impl !ObjSafe for Ext4Store
impl !RefUnwindSafe for Ext4Store
impl Send for Ext4Store
impl !StoreCopy for Ext4Store
impl Sync for Ext4Store
impl Unpin for Ext4Store
impl !UnwindSafe for Ext4Store
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