pub struct Info {
pub header: Header,
pub body_len: u64,
pub checksum_ok: bool,
}Expand description
Container-level facts about one file: header, length, checksum verdict.
Fields§
§header: Header§body_len: u64§checksum_ok: boolWhether the stored checksum matches the bytes. A mismatch is a fact to report, not an error: reporting bad files is this function’s job.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnsafeUnpin for Info
impl UnwindSafe for Info
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