pub struct DiskStatus {
pub path: String,
pub available_bytes: u64,
pub total_bytes: u64,
pub low: bool,
pub checked_at_ms: u64,
}Expand description
The last measurement of the volume holding the daemon’s data directory.
Fields§
§path: StringThe daemon’s data directory, even if an ancestor had to be measured.
available_bytes: u64Bytes available to the daemon’s user, not including reserved space.
total_bytes: u64§low: boolThe daemon’s low-space state, including the margin for recovery.
checked_at_ms: u64Unix time in milliseconds when the measurement was taken.
Trait Implementations§
Source§impl Clone for DiskStatus
impl Clone for DiskStatus
Source§impl Debug for DiskStatus
impl Debug for DiskStatus
Source§impl<'de> Deserialize<'de> for DiskStatus
impl<'de> Deserialize<'de> for DiskStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DiskStatus
Source§impl PartialEq for DiskStatus
impl PartialEq for DiskStatus
Source§impl Serialize for DiskStatus
impl Serialize for DiskStatus
impl StructuralPartialEq for DiskStatus
Auto Trait Implementations§
impl Forget for DiskStatus
impl Freeze for DiskStatus
impl Move for DiskStatus
impl RefUnwindSafe for DiskStatus
impl Send for DiskStatuswhere
RawVecInner: Send,
impl Sync for DiskStatuswhere
RawVecInner: Sync,
impl Unpin for DiskStatus
impl UnsafeUnpin for DiskStatus
impl UnwindSafe for DiskStatuswhere
RawVecInner: UnwindSafe,
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