Struct stable_fs::storage::dummy::DummyStorage
source · pub struct DummyStorage {}Implementations§
source§impl DummyStorage
impl DummyStorage
Trait Implementations§
source§impl Default for DummyStorage
impl Default for DummyStorage
source§impl Storage for DummyStorage
impl Storage for DummyStorage
fn root_node(&self) -> Node
fn new_node(&mut self) -> Node
fn get_version(&self) -> u32
fn get_metadata(&self, _node: Node) -> Result<Metadata, Error>
fn put_metadata(&mut self, _node: Node, _metadata: Metadata)
fn rm_metadata(&mut self, _node: Node)
fn get_direntry( &self, _node: Node, _index: DirEntryIndex ) -> Result<DirEntry, Error>
fn put_direntry(&mut self, _node: Node, _index: DirEntryIndex, _entry: DirEntry)
fn rm_direntry(&mut self, _node: Node, _index: DirEntryIndex)
fn read_filechunk( &self, _node: Node, _index: FileChunkIndex, _offset: FileSize, _buf: &mut [u8] ) -> Result<(), Error>
fn write_filechunk( &mut self, _node: Node, _index: FileChunkIndex, _offset: FileSize, _buf: &[u8] )
fn rm_filechunk(&mut self, _node: Node, _index: FileChunkIndex)
Auto Trait Implementations§
impl RefUnwindSafe for DummyStorage
impl Send for DummyStorage
impl Sync for DummyStorage
impl Unpin for DummyStorage
impl UnwindSafe for DummyStorage
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