pub struct RowLockBuilder { /* private fields */ }Expand description
Builder for row locks.
Implementations§
Source§impl RowLockBuilder
impl RowLockBuilder
Sourcepub fn new(strength: LockStrength) -> Self
pub fn new(strength: LockStrength) -> Self
Create a new builder.
Sourcepub fn skip_locked(self) -> Self
pub fn skip_locked(self) -> Self
SKIP LOCKED - skip locked rows.
Trait Implementations§
Source§impl Clone for RowLockBuilder
impl Clone for RowLockBuilder
Source§fn clone(&self) -> RowLockBuilder
fn clone(&self) -> RowLockBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RowLockBuilder
impl RefUnwindSafe for RowLockBuilder
impl Send for RowLockBuilder
impl Sync for RowLockBuilder
impl Unpin for RowLockBuilder
impl UnwindSafe for RowLockBuilder
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