#[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 HTAB§toplevel_by_lsn: dlist_head§txns_by_base_snapshot_lsn: dlist_head§by_txn_last_xid: TransactionId§by_txn_last_txn: *mut ReorderBufferTXN§begin: ReorderBufferBeginCB§apply_change: ReorderBufferApplyChangeCB§apply_truncate: ReorderBufferApplyTruncateCB§commit: ReorderBufferCommitCB§message: ReorderBufferMessageCB§begin_prepare: ReorderBufferBeginCB§prepare: ReorderBufferPrepareCB§commit_prepared: ReorderBufferCommitPreparedCB§rollback_prepared: ReorderBufferRollbackPreparedCB§stream_start: ReorderBufferStreamStartCB§stream_stop: ReorderBufferStreamStopCB§stream_abort: ReorderBufferStreamAbortCB§stream_prepare: ReorderBufferStreamPrepareCB§stream_commit: ReorderBufferStreamCommitCB§stream_change: ReorderBufferStreamChangeCB§stream_message: ReorderBufferStreamMessageCB§stream_truncate: ReorderBufferStreamTruncateCB§private_data: *mut c_void§output_rewrites: bool§context: MemoryContext§change_context: MemoryContext§txn_context: MemoryContext§tup_context: MemoryContext§current_restart_decoding_lsn: XLogRecPtr§outbuf: *mut c_char§outbufsize: Size§size: Size§spillTxns: int64§spillCount: int64§spillBytes: int64§streamTxns: int64§streamCount: int64§streamBytes: int64§totalTxns: int64§totalBytes: int64

Trait Implementations§

source§

impl Clone for ReorderBuffer

source§

fn clone(&self) -> ReorderBuffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ReorderBuffer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ReorderBuffer

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Copy for ReorderBuffer

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.