#[repr(C)]
pub struct PGPROC {Show 53 fields
pub links: SHM_QUEUE,
pub procgloballist: *mut *mut PGPROC,
pub sem: PGSemaphore,
pub waitStatus: ProcWaitStatus,
pub procLatch: Latch,
pub xid: TransactionId,
pub xmin: TransactionId,
pub lxid: LocalTransactionId,
pub pid: c_int,
pub pgxactoff: c_int,
pub pgprocno: c_int,
pub backendId: BackendId,
pub databaseId: Oid,
pub roleId: Oid,
pub tempNamespaceId: Oid,
pub isBackgroundWorker: bool,
pub recoveryConflictPending: bool,
pub lwWaiting: bool,
pub lwWaitMode: uint8,
pub lwWaitLink: proclist_node,
pub cvWaitLink: proclist_node,
pub waitLock: *mut LOCK,
pub waitProcLock: *mut PROCLOCK,
pub waitLockMode: LOCKMODE,
pub heldLocks: LOCKMASK,
pub waitStart: pg_atomic_uint64,
pub delayChkpt: bool,
pub statusFlags: uint8,
pub delayChkptEnd: bool,
pub waitLSN: XLogRecPtr,
pub syncRepState: c_int,
pub syncRepLinks: SHM_QUEUE,
pub myProcLocks: [SHM_QUEUE; 16],
pub subxidStatus: XidCacheStatus,
pub subxids: XidCache,
pub procArrayGroupMember: bool,
pub procArrayGroupNext: pg_atomic_uint32,
pub procArrayGroupMemberXid: TransactionId,
pub wait_event_info: uint32,
pub clogGroupMember: bool,
pub clogGroupNext: pg_atomic_uint32,
pub clogGroupMemberXid: TransactionId,
pub clogGroupMemberXidStatus: XidStatus,
pub clogGroupMemberPage: c_int,
pub clogGroupMemberLsn: XLogRecPtr,
pub fpInfoLock: LWLock,
pub fpLockBits: uint64,
pub fpRelId: [Oid; 16],
pub fpVXIDLock: bool,
pub fpLocalTransactionId: LocalTransactionId,
pub lockGroupLeader: *mut PGPROC,
pub lockGroupMembers: dlist_head,
pub lockGroupLink: dlist_node,
}
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.