pub enum StmError {
Failure,
Retry,
}
Variants§
Failure
The call failed, because a variable, the computation depends on, has changed.
Retry
retry
was called.
It may block until at least one read variable has changed.
Trait Implementations§
impl Copy for StmError
impl Eq for StmError
impl StructuralPartialEq for StmError
Auto Trait Implementations§
impl Freeze for StmError
impl RefUnwindSafe for StmError
impl Send for StmError
impl Sync for StmError
impl Unpin for StmError
impl UnwindSafe for StmError
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)