pub enum WriteFailureClass {
Retryable,
Permanent,
UnknownCommit,
}Expand description
Whether an unacknowledged write can safely be replayed.
Variants§
Retryable
Persistence guarantees no records committed; an explicit retry is safe.
Permanent
Persistence rejected the records; retrying unchanged records is inappropriate.
UnknownCommit
Some or all records may have committed. Reconcile before any replay.
Trait Implementations§
Source§impl Clone for WriteFailureClass
impl Clone for WriteFailureClass
Source§fn clone(&self) -> WriteFailureClass
fn clone(&self) -> WriteFailureClass
Returns a duplicate of the value. Read more
1.0.0 · 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 WriteFailureClass
impl Debug for WriteFailureClass
Source§impl PartialEq for WriteFailureClass
impl PartialEq for WriteFailureClass
impl Copy for WriteFailureClass
impl Eq for WriteFailureClass
impl StructuralPartialEq for WriteFailureClass
Auto Trait Implementations§
impl Freeze for WriteFailureClass
impl RefUnwindSafe for WriteFailureClass
impl Send for WriteFailureClass
impl Sync for WriteFailureClass
impl Unpin for WriteFailureClass
impl UnsafeUnpin for WriteFailureClass
impl UnwindSafe for WriteFailureClass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.