pub struct RemovalPass {
pub applied: Vec<Removal>,
pub refused: Vec<Removal>,
pub deferred: usize,
pub declared: BTreeSet<String>,
}Expand description
What a pass over the cell’s DECLARED removals did (apply_removals).
Fields§
§applied: Vec<Removal>Performed: the local file is gone (or already was) and the path
is in declared. Dropped from the cell with the window clear —
AFTER the manifest CAS — so a listing keeps hiding the path
until the manifest stops citing it.
refused: Vec<Removal>Refused for good, refused filled in: the cell is told at once
and the removal is never retried.
deferred: usizeLeft in the cell for the next barrier: a rename whose destination is not integrated yet, or an unlink that failed for a transient reason.
declared: BTreeSet<String>The paths this barrier cites OUT: applied, plus any a crashed
earlier barrier had unlinked and journalled.
Trait Implementations§
Source§impl Debug for RemovalPass
impl Debug for RemovalPass
Source§impl Default for RemovalPass
impl Default for RemovalPass
Source§fn default() -> RemovalPass
fn default() -> RemovalPass
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RemovalPass
impl RefUnwindSafe for RemovalPass
impl Send for RemovalPass
impl Sync for RemovalPass
impl Unpin for RemovalPass
impl UnsafeUnpin for RemovalPass
impl UnwindSafe for RemovalPass
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