pub struct DefragReport {
pub files_copied: u64,
pub dirs_copied: u64,
pub data_bytes_copied: u64,
pub rsrc_bytes_copied: u64,
pub xattrs_copied: u64,
pub hardlinks_copied: u64,
pub dir_hardlinks_copied: u64,
pub bytes_emitted: u64,
}Expand description
Outcome of stream_defragmented_hfsplus. Counts mirror the source
snapshot — every captured directory, file, hardlink stub, and xattr
is reflected in the emitted target.
Fields§
§files_copied: u64§dirs_copied: u64§data_bytes_copied: u64§rsrc_bytes_copied: u64§xattrs_copied: u64§hardlinks_copied: u64§dir_hardlinks_copied: u64§bytes_emitted: u64Total bytes emitted into the writer. Always equals target_size
(the function refuses to short-write).
Trait Implementations§
Source§impl Clone for DefragReport
impl Clone for DefragReport
Source§impl Debug for DefragReport
impl Debug for DefragReport
Auto Trait Implementations§
impl Freeze for DefragReport
impl RefUnwindSafe for DefragReport
impl Send for DefragReport
impl Sync for DefragReport
impl Unpin for DefragReport
impl UnsafeUnpin for DefragReport
impl UnwindSafe for DefragReport
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