pub enum RetentionBlocker {
EngineAnchorUnavailable,
BranchRequiresBootstrap {
branch: BranchName,
fork_position: u64,
},
ProjectionRequiresBootstrap {
name: String,
},
ConsumerRequiresBootstrap {
consumer_id: String,
position: u64,
},
MaintenanceHandlesOpen {
readers: usize,
feeds: usize,
},
}Expand description
A condition that prevents a retention plan from being applied safely.
Variants§
Authoritative engine-core retention anchors are not implemented yet.
BranchRequiresBootstrap
A branch depends on history below the proposed effective floor.
Fields
§
branch: BranchNameUser-facing branch name.
ProjectionRequiresBootstrap
A registered live view has no authoritative checkpoint at the floor.
ConsumerRequiresBootstrap
A durable consumer checkpoint would be stranded below the floor.
Fields
MaintenanceHandlesOpen
Maintenance cannot apply while bounded readers or feeds are open.
Trait Implementations§
Source§impl Clone for RetentionBlocker
impl Clone for RetentionBlocker
Source§fn clone(&self) -> RetentionBlocker
fn clone(&self) -> RetentionBlocker
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RetentionBlocker
impl Debug for RetentionBlocker
impl Eq for RetentionBlocker
Source§impl PartialEq for RetentionBlocker
impl PartialEq for RetentionBlocker
impl StructuralPartialEq for RetentionBlocker
Auto Trait Implementations§
impl Freeze for RetentionBlocker
impl RefUnwindSafe for RetentionBlocker
impl Send for RetentionBlocker
impl Sync for RetentionBlocker
impl Unpin for RetentionBlocker
impl UnsafeUnpin for RetentionBlocker
impl UnwindSafe for RetentionBlocker
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