pub struct SpacePlan {
pub free: u64,
pub needed: u64,
pub keep_free: u64,
pub fits: bool,
pub free_after: u64,
pub normal_needs: u64,
pub reclaims: bool,
pub solid_block_bound: bool,
}Expand description
Whether an extraction fits, in the numbers a person needs to decide.
Fields§
§free: u64Usable free space, counting files a crashed run left that will be deleted before continuing.
needed: u64Free space HatchZip needs at its busiest moment.
keep_free: u64§fits: bool§free_after: u64Free space once finished, if it fits.
normal_needs: u64What a normal extractor would need free.
reclaims: boolFalse when the output is on another disk, so freeing the archive doesn’t help it.
solid_block_bound: boolThe shortfall comes from one solid block that can only be freed once all of it is out.
Auto Trait Implementations§
impl Freeze for SpacePlan
impl RefUnwindSafe for SpacePlan
impl Send for SpacePlan
impl Sync for SpacePlan
impl Unpin for SpacePlan
impl UnsafeUnpin for SpacePlan
impl UnwindSafe for SpacePlan
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> 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