pub struct AppendReport {
pub path: PathBuf,
pub old_len: u64,
pub new_len: u64,
pub data_len_before: u64,
pub data_len_after: u64,
pub tensors_added: usize,
pub segment: Option<Segment>,
pub required_features: u32,
pub header_hash: u64,
pub dir_hash: u64,
pub trunk_hash: Option<u64>,
}Expand description
What a tail append did.
Fields§
§path: PathBuf§old_len: u64File length before the append: bytes [128, old_len) are unchanged.
new_len: u64§data_len_before: u64§data_len_after: u64§tensors_added: usize§segment: Option<Segment>The data segment the append added (None for header-only updates).
required_features: u32§header_hash: u64§dir_hash: u64§trunk_hash: Option<u64>genome.trunk_hash of the result (unchanged by construction).
Trait Implementations§
Source§impl Clone for AppendReport
impl Clone for AppendReport
Auto Trait Implementations§
impl Freeze for AppendReport
impl RefUnwindSafe for AppendReport
impl Send for AppendReport
impl Sync for AppendReport
impl Unpin for AppendReport
impl UnsafeUnpin for AppendReport
impl UnwindSafe for AppendReport
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