pub struct StoragePreflight {
pub root: PathBuf,
pub available_bytes: u64,
pub required_free_bytes: u64,
}Expand description
Result of a fail-closed output-root free-space check.
Fields§
§root: PathBufAbsolute output root that was inspected.
available_bytes: u64Bytes available on the filesystem containing Self::root.
required_free_bytes: u64Minimum bytes required by the caller.
Implementations§
Trait Implementations§
Source§impl Clone for StoragePreflight
impl Clone for StoragePreflight
Source§fn clone(&self) -> StoragePreflight
fn clone(&self) -> StoragePreflight
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 StoragePreflight
impl Debug for StoragePreflight
Source§impl PartialEq for StoragePreflight
impl PartialEq for StoragePreflight
Source§fn eq(&self, other: &StoragePreflight) -> bool
fn eq(&self, other: &StoragePreflight) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StoragePreflight
impl StructuralPartialEq for StoragePreflight
Auto Trait Implementations§
impl Freeze for StoragePreflight
impl RefUnwindSafe for StoragePreflight
impl Send for StoragePreflight
impl Sync for StoragePreflight
impl Unpin for StoragePreflight
impl UnsafeUnpin for StoragePreflight
impl UnwindSafe for StoragePreflight
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