pub struct BackupHead {
pub disk: Hash,
pub away: bool,
pub heads: Vec<ChangeId>,
pub damaged: u64,
pub unrepaired: u64,
pub update: u64,
pub waits: u64,
}Expand description
The head of the account of a backup, which a replica that updated it issues: the backup’s disk, its mark, the space’s changes it holds, what checks found damaged, and the number of the update that the page tells of (technical design).
Fields§
§disk: HashThe backup’s disk’s ID in the space.
away: boolWhether it is kept away from home.
heads: Vec<ChangeId>The heads of the space’s changes it holds.
damaged: u64How many of its copies checks found damaged in the 4 weeks before the update.
unrepaired: u64How many of those it holds no intact copy of yet.
update: u64The number of the update.
waits: u64How many days it waits before it destroys what a purge destroys, after the update that first brings the purge: 0 for none.
Trait Implementations§
Source§impl Clone for BackupHead
impl Clone for BackupHead
Source§impl Debug for BackupHead
impl Debug for BackupHead
impl Eq for BackupHead
Source§impl PartialEq for BackupHead
impl PartialEq for BackupHead
impl StructuralPartialEq for BackupHead
Auto Trait Implementations§
impl Forget for BackupHead
impl Freeze for BackupHead
impl Move for BackupHead
impl RefUnwindSafe for BackupHead
impl Send for BackupHead
impl Sync for BackupHead
impl Unpin for BackupHead
impl UnsafeUnpin for BackupHead
impl UnwindSafe for BackupHead
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