#[repr(u8)]pub enum RecordBackoff {
No = 0,
Yes = 1,
}Expand description
Specifies whether ChainLock::try_acquire_with_options should record contention backoff
state if acquisition fails due to a higher-priority transaction holding the lock.
Variants§
No = 0
Do not record backoff state on contention.
Yes = 1
Record backoff state on contention with a higher-priority transaction.
Trait Implementations§
Source§impl Clone for RecordBackoff
impl Clone for RecordBackoff
impl Copy for RecordBackoff
Source§impl Debug for RecordBackoff
impl Debug for RecordBackoff
impl Eq for RecordBackoff
Source§impl PartialEq for RecordBackoff
impl PartialEq for RecordBackoff
impl StructuralPartialEq for RecordBackoff
Auto Trait Implementations§
impl Freeze for RecordBackoff
impl RefUnwindSafe for RecordBackoff
impl Send for RecordBackoff
impl Sync for RecordBackoff
impl Unpin for RecordBackoff
impl UnsafeUnpin for RecordBackoff
impl UnwindSafe for RecordBackoff
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)