pub struct InMemoryMetadataStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for InMemoryMetadataStore
impl Clone for InMemoryMetadataStore
Source§fn clone(&self) -> InMemoryMetadataStore
fn clone(&self) -> InMemoryMetadataStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InMemoryMetadataStore
impl Debug for InMemoryMetadataStore
Source§impl Default for InMemoryMetadataStore
impl Default for InMemoryMetadataStore
Source§impl MetadataStore for InMemoryMetadataStore
impl MetadataStore for InMemoryMetadataStore
fn resolve<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 str,
) -> Pin<Box<dyn Future<Output = VfsResult<InodeMeta>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn resolve_parent<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 str,
) -> Pin<Box<dyn Future<Output = VfsResult<(InodeMeta, String)>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn lstat<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 str,
) -> Pin<Box<dyn Future<Output = VfsResult<InodeMeta>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_dir<'life0, 'async_trait>(
&'life0 self,
ino: u64,
) -> Pin<Box<dyn Future<Output = VfsResult<Vec<DentryStat>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create<'life0, 'life1, 'async_trait>(
&'life0 self,
parent: u64,
name: &'life1 str,
attrs: CreateInodeAttrs,
) -> Pin<Box<dyn Future<Output = VfsResult<InodeMeta>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn link<'life0, 'life1, 'async_trait>(
&'life0 self,
parent: u64,
name: &'life1 str,
target: u64,
) -> Pin<Box<dyn Future<Output = VfsResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn remove<'life0, 'life1, 'async_trait>(
&'life0 self,
parent: u64,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = VfsResult<Vec<BlockKey>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn rename<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
src_parent: u64,
src: &'life1 str,
dst_parent: u64,
dst: &'life2 str,
) -> Pin<Box<dyn Future<Output = VfsResult<Vec<BlockKey>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn set_attr<'life0, 'async_trait>(
&'life0 self,
ino: u64,
patch: InodePatch,
) -> Pin<Box<dyn Future<Output = VfsResult<Vec<BlockKey>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn commit_write<'life0, 'async_trait>(
&'life0 self,
ino: u64,
edits: Vec<ChunkEdit>,
new_size: u64,
) -> Pin<Box<dyn Future<Output = VfsResult<Vec<BlockKey>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_chunks<'life0, 'async_trait>(
&'life0 self,
ino: u64,
range: ChunkRange,
) -> Pin<Box<dyn Future<Output = VfsResult<Vec<ChunkRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn snapshot<'life0, 'async_trait>(
&'life0 self,
root: u64,
) -> Pin<Box<dyn Future<Output = VfsResult<SnapshotId>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fork<'life0, 'async_trait>(
&'life0 self,
snap: SnapshotId,
) -> Pin<Box<dyn Future<Output = VfsResult<u64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn gc<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = VfsResult<Vec<BlockKey>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for InMemoryMetadataStore
impl RefUnwindSafe for InMemoryMetadataStore
impl Send for InMemoryMetadataStore
impl Sync for InMemoryMetadataStore
impl Unpin for InMemoryMetadataStore
impl UnsafeUnpin for InMemoryMetadataStore
impl UnwindSafe for InMemoryMetadataStore
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