pub struct Headroom {
pub free: u64,
pub total: u64,
pub floor: u64,
}Expand description
One measurement of the store root’s filesystem.
Fields§
§free: u64Bytes available to an unprivileged writer (f_bavail * f_frsize).
total: u64The filesystem’s size (f_blocks * f_frsize).
floor: u64The floor in force for this filesystem, DiskFloor::bytes_for.
Implementations§
Trait Implementations§
impl Copy for Headroom
impl Eq for Headroom
impl StructuralPartialEq for Headroom
Auto Trait Implementations§
impl Freeze for Headroom
impl RefUnwindSafe for Headroom
impl Send for Headroom
impl Sync for Headroom
impl Unpin for Headroom
impl UnsafeUnpin for Headroom
impl UnwindSafe for Headroom
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.