pub struct Written {
pub path: PathBuf,
pub digest: [u8; 32],
pub bytes: u64,
pub created: bool,
}Expand description
A pack written to disk.
Fields§
§path: PathBuf§digest: [u8; 32]SHA-256 of the pack file, which is also its name.
bytes: u64§created: boolfalse when an identical pack was already present.
Trait Implementations§
impl Eq for Written
impl StructuralPartialEq for Written
Auto Trait Implementations§
impl Forget for Written
impl Freeze for Written
impl Move for Written
impl RefUnwindSafe for Written
impl Send for Written
impl Sync for Written
impl Unpin for Written
impl UnsafeUnpin for Written
impl UnwindSafe for Written
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