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: LOCKTAGgrantMask: LOCKMASKwaitMask: LOCKMASKprocLocks: SHM_QUEUEwaitProcs: PROC_QUEUErequested: [c_int; 10]nRequested: c_intgranted: [c_int; 10]nGranted: c_intTrait 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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