pub enum EpochState<V>where
V: Identities,{
Open,
Pending,
Blocked(<V as Identities>::FailureId),
Durable,
Abandoned,
}Expand description
An epoch’s state as the instance sees it.
Variants§
Open
Not sealed; writes may still join it.
Pending
Sealed, and not yet reported durable or failed.
Blocked(<V as Identities>::FailureId)
Sealed, its flushes done, held back by an unresolved failure.
Durable
Reported durable.
Abandoned
Abandoned by the consumer.
Trait Implementations§
Source§impl<V> Clone for EpochState<V>
impl<V> Clone for EpochState<V>
Source§fn clone(&self) -> EpochState<V>
fn clone(&self) -> EpochState<V>
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<V> Copy for EpochState<V>
Source§impl<V> Debug for EpochState<V>
impl<V> Debug for EpochState<V>
impl<V> Eq for EpochState<V>
Source§impl<V> PartialEq for EpochState<V>
impl<V> PartialEq for EpochState<V>
impl<V> StructuralPartialEq for EpochState<V>
Auto Trait Implementations§
impl<V> Freeze for EpochState<V>
impl<V> RefUnwindSafe for EpochState<V>
impl<V> Send for EpochState<V>
impl<V> Sync for EpochState<V>
impl<V> Unpin for EpochState<V>
impl<V> UnsafeUnpin for EpochState<V>
impl<V> UnwindSafe for EpochState<V>
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