#[non_exhaustive]pub enum RevokeProgress {
Complete,
Pending {
remaining: u64,
},
}Expand description
Completion is reported only after every lease is acknowledged or expired, and any declared recovery holdoff has passed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Complete
No old-epoch write can still commit.
Pending
Outstanding shards counted so far. At a budget stop this is a lower bound (at least one); recovery holdoff alone also returns one.
Trait Implementations§
Source§impl Clone for RevokeProgress
impl Clone for RevokeProgress
impl Copy for RevokeProgress
Source§impl Debug for RevokeProgress
impl Debug for RevokeProgress
impl Eq for RevokeProgress
Source§impl PartialEq for RevokeProgress
impl PartialEq for RevokeProgress
impl StructuralPartialEq for RevokeProgress
Auto Trait Implementations§
impl Freeze for RevokeProgress
impl RefUnwindSafe for RevokeProgress
impl Send for RevokeProgress
impl Sync for RevokeProgress
impl Unpin for RevokeProgress
impl UnsafeUnpin for RevokeProgress
impl UnwindSafe for RevokeProgress
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