pub struct WriteArtifact {
pub bytes: Vec<u8>,
pub merkle_root: ManifestRoot,
pub slab_bytes: Option<Vec<u8>>,
pub slab_locator: Option<String>,
pub inode_count: usize,
pub file_count: usize,
pub dir_count: usize,
pub drop_count: usize,
pub root_inode_number: u64,
}Expand description
Result of writing a directory tree.
Fields§
§bytes: Vec<u8>§merkle_root: ManifestRoot§slab_bytes: Option<Vec<u8>>§slab_locator: Option<String>§inode_count: usize§file_count: usize§dir_count: usize§drop_count: usize§root_inode_number: u64Inode number of the root directory (i.e. the inode that represents the source directory itself, not a child of it). Always a directory and always referenced by the inlined metadata blob’s directory inode table.
Trait Implementations§
Source§impl Clone for WriteArtifact
impl Clone for WriteArtifact
Source§fn clone(&self) -> WriteArtifact
fn clone(&self) -> WriteArtifact
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 WriteArtifact
impl RefUnwindSafe for WriteArtifact
impl Send for WriteArtifact
impl Sync for WriteArtifact
impl Unpin for WriteArtifact
impl UnsafeUnpin for WriteArtifact
impl UnwindSafe for WriteArtifact
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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