pub struct Punch {
pub margin: u64,
pub overlap: u64,
}Expand description
What freeing an archive’s bytes costs around a punched range: margin is
the most the filesystem may keep allocated at each end, which the space
estimate reserves; overlap is how far before the last punch ended the
next one starts, to free the block it kept. They differ by orders of
magnitude on btrfs, where an extent is 128 MiB but a block is 4 KiB.
Fields§
§margin: u64§overlap: u64Trait Implementations§
Auto Trait Implementations§
impl Forget for Punch
impl Freeze for Punch
impl Move for Punch
impl RefUnwindSafe for Punch
impl Send for Punch
impl Sync for Punch
impl Unpin for Punch
impl UnsafeUnpin for Punch
impl UnwindSafe for Punch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more