Struct pgx_pg_sys::ReorderBuffer
source · [−]#[repr(C)]pub struct ReorderBuffer {Show 40 fields
pub by_txn: *mut HTAB,
pub toplevel_by_lsn: dlist_head,
pub txns_by_base_snapshot_lsn: dlist_head,
pub by_txn_last_xid: TransactionId,
pub by_txn_last_txn: *mut ReorderBufferTXN,
pub begin: ReorderBufferBeginCB,
pub apply_change: ReorderBufferApplyChangeCB,
pub apply_truncate: ReorderBufferApplyTruncateCB,
pub commit: ReorderBufferCommitCB,
pub message: ReorderBufferMessageCB,
pub begin_prepare: ReorderBufferBeginCB,
pub prepare: ReorderBufferPrepareCB,
pub commit_prepared: ReorderBufferCommitPreparedCB,
pub rollback_prepared: ReorderBufferRollbackPreparedCB,
pub stream_start: ReorderBufferStreamStartCB,
pub stream_stop: ReorderBufferStreamStopCB,
pub stream_abort: ReorderBufferStreamAbortCB,
pub stream_prepare: ReorderBufferStreamPrepareCB,
pub stream_commit: ReorderBufferStreamCommitCB,
pub stream_change: ReorderBufferStreamChangeCB,
pub stream_message: ReorderBufferStreamMessageCB,
pub stream_truncate: ReorderBufferStreamTruncateCB,
pub private_data: *mut c_void,
pub output_rewrites: bool,
pub context: MemoryContext,
pub change_context: MemoryContext,
pub txn_context: MemoryContext,
pub tup_context: MemoryContext,
pub current_restart_decoding_lsn: XLogRecPtr,
pub outbuf: *mut c_char,
pub outbufsize: Size,
pub size: Size,
pub spillTxns: int64,
pub spillCount: int64,
pub spillBytes: int64,
pub streamTxns: int64,
pub streamCount: int64,
pub streamBytes: int64,
pub totalTxns: int64,
pub totalBytes: int64,
}Fields
by_txn: *mut HTABtoplevel_by_lsn: dlist_headtxns_by_base_snapshot_lsn: dlist_headby_txn_last_xid: TransactionIdby_txn_last_txn: *mut ReorderBufferTXNbegin: ReorderBufferBeginCBapply_change: ReorderBufferApplyChangeCBapply_truncate: ReorderBufferApplyTruncateCBcommit: ReorderBufferCommitCBmessage: ReorderBufferMessageCBbegin_prepare: ReorderBufferBeginCBprepare: ReorderBufferPrepareCBcommit_prepared: ReorderBufferCommitPreparedCBrollback_prepared: ReorderBufferRollbackPreparedCBstream_start: ReorderBufferStreamStartCBstream_stop: ReorderBufferStreamStopCBstream_abort: ReorderBufferStreamAbortCBstream_prepare: ReorderBufferStreamPrepareCBstream_commit: ReorderBufferStreamCommitCBstream_change: ReorderBufferStreamChangeCBstream_message: ReorderBufferStreamMessageCBstream_truncate: ReorderBufferStreamTruncateCBprivate_data: *mut c_voidoutput_rewrites: boolcontext: MemoryContextchange_context: MemoryContexttxn_context: MemoryContexttup_context: MemoryContextcurrent_restart_decoding_lsn: XLogRecPtroutbuf: *mut c_charoutbufsize: Sizesize: SizespillTxns: int64spillCount: int64spillBytes: int64streamTxns: int64streamCount: int64streamBytes: int64totalTxns: int64totalBytes: int64Trait Implementations
sourceimpl Clone for ReorderBuffer
impl Clone for ReorderBuffer
sourcefn clone(&self) -> ReorderBuffer
fn clone(&self) -> ReorderBuffer
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ReorderBuffer
impl Debug for ReorderBuffer
sourceimpl Default for ReorderBuffer
impl Default for ReorderBuffer
impl Copy for ReorderBuffer
Auto Trait Implementations
impl RefUnwindSafe for ReorderBuffer
impl !Send for ReorderBuffer
impl !Sync for ReorderBuffer
impl Unpin for ReorderBuffer
impl UnwindSafe for ReorderBuffer
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