Struct pgx_pg_sys::LOCK
source · [−]#[repr(C)]pub struct LOCK {
pub tag: LOCKTAG,
pub grantMask: LOCKMASK,
pub waitMask: LOCKMASK,
pub procLocks: SHM_QUEUE,
pub waitProcs: PROC_QUEUE,
pub requested: [c_int; 10],
pub nRequested: c_int,
pub granted: [c_int; 10],
pub nGranted: c_int,
}
Fields
tag: LOCKTAG
grantMask: LOCKMASK
waitMask: LOCKMASK
procLocks: SHM_QUEUE
waitProcs: PROC_QUEUE
requested: [c_int; 10]
nRequested: c_int
granted: [c_int; 10]
nGranted: c_int
Trait Implementations
impl Copy for LOCK
Auto Trait Implementations
impl RefUnwindSafe for LOCK
impl !Send for LOCK
impl !Sync for LOCK
impl Unpin for LOCK
impl UnwindSafe for LOCK
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more