pub struct LockRequest<'a> {
pub session_id: u64,
pub key: RowLockKey,
pub strength: LockStrength,
pub mark: u32,
pub wait: LockWait,
pub cancel: &'a CancellationToken,
pub relation: &'a str,
}Fields§
§session_id: u64§key: RowLockKey§strength: LockStrength§mark: u32§wait: LockWait§cancel: &'a CancellationToken§relation: &'a strAuto Trait Implementations§
impl<'a> Freeze for LockRequest<'a>
impl<'a> RefUnwindSafe for LockRequest<'a>
impl<'a> Send for LockRequest<'a>
impl<'a> Sync for LockRequest<'a>
impl<'a> Unpin for LockRequest<'a>
impl<'a> UnsafeUnpin for LockRequest<'a>
impl<'a> UnwindSafe for LockRequest<'a>
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more