Struct stable_fs::storage::transient::TransientStorage
source · pub struct TransientStorage { /* private fields */ }Implementations§
Trait Implementations§
source§impl Debug for TransientStorage
impl Debug for TransientStorage
source§impl Default for TransientStorage
impl Default for TransientStorage
source§fn default() -> TransientStorage
fn default() -> TransientStorage
Returns the “default value” for a type. Read more
source§impl Storage for TransientStorage
impl Storage for TransientStorage
fn root_node(&self) -> Node
fn get_version(&self) -> u32
fn new_node(&mut self) -> Node
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 TransientStorage
impl Send for TransientStorage
impl Sync for TransientStorage
impl Unpin for TransientStorage
impl UnwindSafe for TransientStorage
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