pub enum EditError<E> {
Refused(E),
Store(LeanError),
Contended,
}Expand description
Why a one-CAS edit did not land.
Variants§
Refused(E)
The edit refused the document it was shown.
Store(LeanError)
Contended
Lost EDIT_CAS_ATTEMPTS races in a row.
Trait Implementations§
Auto Trait Implementations§
impl<E> !RefUnwindSafe for EditError<E>
impl<E> !UnwindSafe for EditError<E>
impl<E> Freeze for EditError<E>where
E: Freeze,
impl<E> Send for EditError<E>where
E: Send,
impl<E> Sync for EditError<E>where
E: Sync,
impl<E> Unpin for EditError<E>where
E: Unpin,
impl<E> UnsafeUnpin for EditError<E>where
E: UnsafeUnpin,
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