pub enum FlushWalOutcome {
AlreadyCurrent,
Published,
Superseded,
}Expand description
How one WAL flush satisfied its goal.
Variants§
AlreadyCurrent
The root already covered the head; nothing was published.
Published
This call published a new manifest and advanced the root to it.
Superseded
This call published a manifest, but a newer root already covered the attempted sequence.
Trait Implementations§
Source§impl Clone for FlushWalOutcome
impl Clone for FlushWalOutcome
Source§fn clone(&self) -> FlushWalOutcome
fn clone(&self) -> FlushWalOutcome
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 moreimpl Copy for FlushWalOutcome
Source§impl Debug for FlushWalOutcome
impl Debug for FlushWalOutcome
Source§impl<'de> Deserialize<'de> for FlushWalOutcome
impl<'de> Deserialize<'de> for FlushWalOutcome
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 FlushWalOutcome
Source§impl PartialEq for FlushWalOutcome
impl PartialEq for FlushWalOutcome
Source§impl Serialize for FlushWalOutcome
impl Serialize for FlushWalOutcome
impl StructuralPartialEq for FlushWalOutcome
Auto Trait Implementations§
impl Freeze for FlushWalOutcome
impl RefUnwindSafe for FlushWalOutcome
impl Send for FlushWalOutcome
impl Sync for FlushWalOutcome
impl Unpin for FlushWalOutcome
impl UnsafeUnpin for FlushWalOutcome
impl UnwindSafe for FlushWalOutcome
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