pub struct AdvisoryKey {
pub high: u32,
pub low: u32,
pub kind: u16,
}Expand description
The key of an advisory lock, the fields 2 to 4 of its tag: the two halves of a bigint key with kind 1, or two integer keys with kind 2. The database of the session is the field 1.
Fields§
§high: u32§low: u32§kind: u16Trait Implementations§
Source§impl Clone for AdvisoryKey
impl Clone for AdvisoryKey
impl Copy for AdvisoryKey
Source§impl Debug for AdvisoryKey
impl Debug for AdvisoryKey
impl Eq for AdvisoryKey
Source§impl Hash for AdvisoryKey
impl Hash for AdvisoryKey
Source§impl PartialEq for AdvisoryKey
impl PartialEq for AdvisoryKey
impl StructuralPartialEq for AdvisoryKey
Auto Trait Implementations§
impl Freeze for AdvisoryKey
impl RefUnwindSafe for AdvisoryKey
impl Send for AdvisoryKey
impl Sync for AdvisoryKey
impl Unpin for AdvisoryKey
impl UnsafeUnpin for AdvisoryKey
impl UnwindSafe for AdvisoryKey
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