pub struct BackupUpdate {Show 17 fields
pub update: u64,
pub unclean: bool,
pub taken: BackupMoved,
pub written: BackupMoved,
pub purged: usize,
pub waiting: usize,
pub unfit: usize,
pub unfit_bytes: u64,
pub checked: usize,
pub checked_bytes: u64,
pub damaged: usize,
pub repaired: usize,
pub set_aside: usize,
pub to_check: u64,
pub held: usize,
pub held_bytes: u64,
pub elsewhere: Vec<HeldElsewhere>,
}Expand description
What an update of a backup did.
Fields§
§update: u64The update’s number.
unclean: boolWhether the backup was pulled out or lost its power during an update before.
taken: BackupMovedWhat the replica took in from the backup.
written: BackupMovedWhat it wrote to the backup.
purged: usizeHow many items and files of purged content left the backup.
waiting: usizeHow many purges wait on the backup before what they destroyed leaves it.
unfit: usizeHow many sealed blobs that the backup keeps did not fit, and their bytes.
unfit_bytes: u64The bytes of those blobs.
checked: usizeHow many blob files it read in full and found intact, and their bytes.
checked_bytes: u64The bytes of those files.
damaged: usizeHow many copies it found damaged.
repaired: usizeHow many of those it wrote again from the replica’s copy.
set_aside: usizeHow many packs and files it set aside as damaged.
to_check: u64How many bytes of blob files are left to check, as the update stopped first.
held: usizeHow many sealed blobs the backup holds, and their bytes.
held_bytes: u64The bytes of those blobs.
elsewhere: Vec<HeldElsewhere>The spaces of the backup that this device does not hold, which the update neither took in nor wrote, each with the devices of the person’s that hold it: one that none holds gets no update any more (technical design).
Trait Implementations§
Source§impl Clone for BackupUpdate
impl Clone for BackupUpdate
Source§impl Debug for BackupUpdate
impl Debug for BackupUpdate
Source§impl Default for BackupUpdate
impl Default for BackupUpdate
impl Eq for BackupUpdate
Source§impl PartialEq for BackupUpdate
impl PartialEq for BackupUpdate
impl StructuralPartialEq for BackupUpdate
Auto Trait Implementations§
impl Forget for BackupUpdate
impl Freeze for BackupUpdate
impl Move for BackupUpdate
impl RefUnwindSafe for BackupUpdate
impl Send for BackupUpdate
impl Sync for BackupUpdate
impl Unpin for BackupUpdate
impl UnsafeUnpin for BackupUpdate
impl UnwindSafe for BackupUpdate
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
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
key and return true if they are equal.