pub enum DropWait {
OwnChanges {
changes: usize,
more: bool,
},
ChangeCopies {
disks: usize,
away: usize,
archived: usize,
needs: Needs,
},
Files(usize),
Secrets,
}Expand description
What a drop waits for before this device states its choice.
Variants§
OwnChanges
The newest of the space’s changes that this disk alone holds, as no other disk’s account says it holds them yet, and whether there may be more of them.
ChangeCopies
Fewer disks besides this one hold all of the space’s changes than the space’s Critical policy asks for: how many do, how many of them are away from home, and how many are archive nodes’.
Fields
Files(usize)
The sealed blobs of the space that this device holds and no other space of the replica keeps: each goes once its copies elsewhere are proven, as the holder of the sync role removes copies, a pass at a time.
Secrets
This device holds the space’s secrets, and no other replica that remains in the space does.
Trait Implementations§
impl Eq for DropWait
impl StructuralPartialEq for DropWait
Auto Trait Implementations§
impl Forget for DropWait
impl Freeze for DropWait
impl Move for DropWait
impl RefUnwindSafe for DropWait
impl Send for DropWait
impl Sync for DropWait
impl Unpin for DropWait
impl UnsafeUnpin for DropWait
impl UnwindSafe for DropWait
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.