pub struct BackupState {
pub update: u64,
pub held: usize,
pub to_check: u64,
pub damaged: usize,
}Expand description
What a backup’s folder says of it, without an update: read from its record.
Fields§
§update: u64The number of its last update; 0 for none.
held: usizeHow many sealed blobs it holds.
to_check: u64How many bytes of its blob files are due to be read again: not read in full in the last 4 weeks.
damaged: usizeHow many copies checks found damaged in the 4 weeks before its last update.
Trait Implementations§
Source§impl Clone for BackupState
impl Clone for BackupState
Source§impl Debug for BackupState
impl Debug for BackupState
Source§impl Default for BackupState
impl Default for BackupState
impl Eq for BackupState
Source§impl PartialEq for BackupState
impl PartialEq for BackupState
impl StructuralPartialEq for BackupState
Auto Trait Implementations§
impl Forget for BackupState
impl Freeze for BackupState
impl Move for BackupState
impl RefUnwindSafe for BackupState
impl Send for BackupState
impl Sync for BackupState
impl Unpin for BackupState
impl UnsafeUnpin for BackupState
impl UnwindSafe for BackupState
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
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.