pub struct SnapshotPut {
pub hash: ContentHash,
pub deduped: bool,
pub stored_bytes: usize,
}Fields§
§hash: ContentHash§deduped: bool同样的内容已经存过,这次没有再写内容。
stored_bytes: usize压缩后的大小(去重时为 0)。
Trait Implementations§
Source§impl Clone for SnapshotPut
impl Clone for SnapshotPut
Source§impl Debug for SnapshotPut
impl Debug for SnapshotPut
impl Eq for SnapshotPut
Source§impl PartialEq for SnapshotPut
impl PartialEq for SnapshotPut
impl StructuralPartialEq for SnapshotPut
Auto Trait Implementations§
impl Freeze for SnapshotPut
impl RefUnwindSafe for SnapshotPut
impl Send for SnapshotPut
impl Sync for SnapshotPut
impl Unpin for SnapshotPut
impl UnsafeUnpin for SnapshotPut
impl UnwindSafe for SnapshotPut
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