pub enum QuoteLockAttempt {
Acquired,
Contended,
Unsupported,
}Expand description
Outcome of a non-blocking quote advisory lock attempt.
Variants§
Acquired
This transaction holds the cross-process lock.
Contended
Another transaction holds the lock. Callers must fail closed (leave the quote pending) and never compensate on this outcome.
Unsupported
The backend has no cross-process lock; callers retain a process-local guard.
Trait Implementations§
Source§impl Clone for QuoteLockAttempt
impl Clone for QuoteLockAttempt
Source§fn clone(&self) -> QuoteLockAttempt
fn clone(&self) -> QuoteLockAttempt
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 Copy for QuoteLockAttempt
Source§impl Debug for QuoteLockAttempt
impl Debug for QuoteLockAttempt
impl Eq for QuoteLockAttempt
Source§impl PartialEq for QuoteLockAttempt
impl PartialEq for QuoteLockAttempt
impl StructuralPartialEq for QuoteLockAttempt
Auto Trait Implementations§
impl Freeze for QuoteLockAttempt
impl RefUnwindSafe for QuoteLockAttempt
impl Send for QuoteLockAttempt
impl Sync for QuoteLockAttempt
impl Unpin for QuoteLockAttempt
impl UnsafeUnpin for QuoteLockAttempt
impl UnwindSafe for QuoteLockAttempt
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