Struct pgrx_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 Freeze for LOCK
impl RefUnwindSafe for LOCK
impl !Send for LOCK
impl !Sync for LOCK
impl Unpin for LOCK
impl UnwindSafe for LOCK
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)