pub enum FileContentSnapshot {
File(FileDataSnapshot),
Dir(BTreeMap<String, InodeId>),
}Expand description
Snapshot of file content.
Variants§
File(FileDataSnapshot)
Regular file with its data.
Dir(BTreeMap<String, InodeId>)
Directory with name -> inode_id mappings.
Trait Implementations§
Source§impl Clone for FileContentSnapshot
impl Clone for FileContentSnapshot
Source§fn clone(&self) -> FileContentSnapshot
fn clone(&self) -> FileContentSnapshot
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 moreAuto Trait Implementations§
impl Freeze for FileContentSnapshot
impl RefUnwindSafe for FileContentSnapshot
impl Send for FileContentSnapshot
impl Sync for FileContentSnapshot
impl Unpin for FileContentSnapshot
impl UnsafeUnpin for FileContentSnapshot
impl UnwindSafe for FileContentSnapshot
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