Enum rsfbclient_core::TrLockResolution
source · [−]Expand description
Lock resolution modes
Variants
NoWait
In the NO WAIT mode, a transaction will immediately throw a database exception if a conflict occurs
Wait(Option<u32>)
In the WAIT model, transaction will wait till the other transaction has finished.
If a TIMEOUT is specified for the WAIT transaction, waiting will continue only for the number of seconds specified
Trait Implementations
sourceimpl Clone for TrLockResolution
impl Clone for TrLockResolution
sourcefn clone(&self) -> TrLockResolution
fn clone(&self) -> TrLockResolution
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for TrLockResolution
impl Debug for TrLockResolution
sourceimpl Default for TrLockResolution
impl Default for TrLockResolution
sourceimpl From<TrLockResolution> for u8
impl From<TrLockResolution> for u8
sourcefn from(tp: TrLockResolution) -> Self
fn from(tp: TrLockResolution) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<TrLockResolution> for TrLockResolution
impl PartialEq<TrLockResolution> for TrLockResolution
sourcefn eq(&self, other: &TrLockResolution) -> bool
fn eq(&self, other: &TrLockResolution) -> bool
impl Copy for TrLockResolution
impl Eq for TrLockResolution
impl StructuralEq for TrLockResolution
impl StructuralPartialEq for TrLockResolution
Auto Trait Implementations
impl RefUnwindSafe for TrLockResolution
impl Send for TrLockResolution
impl Sync for TrLockResolution
impl Unpin for TrLockResolution
impl UnwindSafe for TrLockResolution
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more