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
Auto Trait Implementations§
impl Forget for RowLockBuilder
impl Freeze for RowLockBuilder
impl Move for RowLockBuilder
impl RefUnwindSafe for RowLockBuilder
impl Send for RowLockBuilder
impl Sync for RowLockBuilder
impl Unpin for RowLockBuilder
impl UnsafeUnpin 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