pub enum DiskPreflight {
Sufficient,
Insufficient {
free_bytes: u64,
estimate_bytes: u64,
},
}Expand description
The decision a pre-drain disk check reaches.
Variants§
Sufficient
Free space meets the estimate (or could not be measured — proceed and let the build surface any real ENOSPC, exactly as before this check; never fabricate a “0 bytes free” refusal).
Insufficient
Free space is below the estimated build footprint: refuse to start.
Trait Implementations§
Source§impl Clone for DiskPreflight
impl Clone for DiskPreflight
Source§fn clone(&self) -> DiskPreflight
fn clone(&self) -> DiskPreflight
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiskPreflight
impl Debug for DiskPreflight
impl Eq for DiskPreflight
Source§impl PartialEq for DiskPreflight
impl PartialEq for DiskPreflight
impl StructuralPartialEq for DiskPreflight
Auto Trait Implementations§
impl Freeze for DiskPreflight
impl RefUnwindSafe for DiskPreflight
impl Send for DiskPreflight
impl Sync for DiskPreflight
impl Unpin for DiskPreflight
impl UnsafeUnpin for DiskPreflight
impl UnwindSafe for DiskPreflight
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