pub struct ChangeCopies {
pub needs: Needs,
pub disks: usize,
pub away: usize,
pub archived: usize,
pub here_alone: usize,
pub here_alone_more: bool,
}Expand description
How the space’s changes are held, as a check counts them against the space’s Critical policy.
Fields§
§needs: NeedsWhat the Critical policy asks.
disks: usizeHow many disks hold every change that this replica holds, its own included.
away: usizeHow many of them are away from home.
archived: usizeHow many of them are archive nodes’.
here_alone: usizeHow many of the changes this replica holds are held on its disk alone.
here_alone_more: boolWhether there may be more of those than counted, which is counted among the newest changes only.
Trait Implementations§
Source§impl Clone for ChangeCopies
impl Clone for ChangeCopies
Source§impl Debug for ChangeCopies
impl Debug for ChangeCopies
Source§impl Default for ChangeCopies
impl Default for ChangeCopies
impl Eq for ChangeCopies
Source§impl PartialEq for ChangeCopies
impl PartialEq for ChangeCopies
impl StructuralPartialEq for ChangeCopies
Auto Trait Implementations§
impl Forget for ChangeCopies
impl Freeze for ChangeCopies
impl Move for ChangeCopies
impl RefUnwindSafe for ChangeCopies
impl Send for ChangeCopies
impl Sync for ChangeCopies
impl Unpin for ChangeCopies
impl UnsafeUnpin for ChangeCopies
impl UnwindSafe for ChangeCopies
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.