#[non_exhaustive]pub enum BeginSetError<E> {
CannotApplyAtomically,
Other(E),
}Expand description
Why ConditionalBackend::begin_set did not open a scope.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CannotApplyAtomically
§4.3: the backend cannot apply this method atomically, “either at
all, or because this particular method is beyond what it can commit
as a unit”. The method is rejected with cannotApplyAtomically.
Other(E)
A storage failure; the method fails with a redacted serverFail.
Trait Implementations§
Auto Trait Implementations§
impl<E> Forget for BeginSetError<E>
impl<E> Freeze for BeginSetError<E>where
E: Freeze,
impl<E> Move for BeginSetError<E>
impl<E> RefUnwindSafe for BeginSetError<E>where
E: RefUnwindSafe,
impl<E> Send for BeginSetError<E>where
E: Send,
impl<E> Sync for BeginSetError<E>where
E: Sync,
impl<E> Unpin for BeginSetError<E>where
E: Unpin,
impl<E> UnsafeUnpin for BeginSetError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for BeginSetError<E>where
E: UnwindSafe,
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