pub struct Removed {
pub copies: usize,
pub bytes: u64,
pub waiting: usize,
pub more: bool,
pub moves: usize,
pub deleted: Vec<PathBuf>,
pub failed: Vec<String>,
}Expand description
What a pass of removals did.
Fields§
§copies: usizeHow many copies it removed.
bytes: u64Their bytes.
waiting: usizeHow many copies that this replica no longer keeps stay for now: their copies elsewhere were not all found or proven, their policy needs a copy away from home, another replica holds them for its own removal, or the pass had room for no more.
more: boolWhether more could be removed than the pass had room for, so that another pass soon removes more.
moves: usizeHow many of this replica’s moves it purged what they left behind, once the copies in the new space of the content they held were proven.
deleted: Vec<PathBuf>The copies of this device’s checkouts that those purges deleted.
failed: Vec<String>Why purges that it tried failed, which the next pass tries again.
Trait Implementations§
impl Eq for Removed
impl StructuralPartialEq for Removed
Auto Trait Implementations§
impl Forget for Removed
impl Freeze for Removed
impl Move for Removed
impl RefUnwindSafe for Removed
impl Send for Removed
impl Sync for Removed
impl Unpin for Removed
impl UnsafeUnpin for Removed
impl UnwindSafe for Removed
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.