pub enum WalFlushStepOutcome {
NotNeeded,
Flushed {
manifest_head_seq: ChangeSeq,
},
Superseded {
attempted_seq: ChangeSeq,
current_manifest_id: ManifestId,
},
RaceLost {
observed_head_seq: ChangeSeq,
},
}Expand description
What the WAL-flush part of a maintenance step did.
Variants§
NotNeeded
The step did not run this sub-step: the tail was below the threshold,
or only selected something else.
Flushed
The step flushed the WAL tail and advanced the metadata root.
Superseded
The root already covered the attempted sequence — another publisher got there first.
Fields
§
current_manifest_id: ManifestIdManifest the root currently references.
RaceLost
A concurrent head update won the race.
Trait Implementations§
Source§impl Clone for WalFlushStepOutcome
impl Clone for WalFlushStepOutcome
Source§fn clone(&self) -> WalFlushStepOutcome
fn clone(&self) -> WalFlushStepOutcome
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 WalFlushStepOutcome
impl Debug for WalFlushStepOutcome
Source§impl<'de> Deserialize<'de> for WalFlushStepOutcome
impl<'de> Deserialize<'de> for WalFlushStepOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WalFlushStepOutcome
Source§impl PartialEq for WalFlushStepOutcome
impl PartialEq for WalFlushStepOutcome
Source§impl Serialize for WalFlushStepOutcome
impl Serialize for WalFlushStepOutcome
impl StructuralPartialEq for WalFlushStepOutcome
Auto Trait Implementations§
impl Freeze for WalFlushStepOutcome
impl RefUnwindSafe for WalFlushStepOutcome
impl Send for WalFlushStepOutcome
impl Sync for WalFlushStepOutcome
impl Unpin for WalFlushStepOutcome
impl UnsafeUnpin for WalFlushStepOutcome
impl UnwindSafe for WalFlushStepOutcome
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