#[repr(C)]pub struct LogicalDecodingContext {Show 23 fields
pub context: MemoryContext,
pub slot: *mut ReplicationSlot,
pub reader: *mut XLogReaderState,
pub reorder: *mut ReorderBuffer,
pub snapshot_builder: *mut SnapBuild,
pub fast_forward: bool,
pub end_xact: bool,
pub callbacks: OutputPluginCallbacks,
pub options: OutputPluginOptions,
pub output_plugin_options: *mut List,
pub prepare_write: LogicalOutputPluginWriterPrepareWrite,
pub write: LogicalOutputPluginWriterWrite,
pub update_progress: LogicalOutputPluginWriterUpdateProgress,
pub out: StringInfo,
pub output_plugin_private: *mut c_void,
pub output_writer_private: *mut c_void,
pub streaming: bool,
pub twophase: bool,
pub accept_writes: bool,
pub prepared_write: bool,
pub write_location: XLogRecPtr,
pub write_xid: TransactionId,
pub in_create: bool,
}
Fields§
§context: MemoryContext
§slot: *mut ReplicationSlot
§reader: *mut XLogReaderState
§reorder: *mut ReorderBuffer
§snapshot_builder: *mut SnapBuild
§fast_forward: bool
§end_xact: bool
§callbacks: OutputPluginCallbacks
§options: OutputPluginOptions
§output_plugin_options: *mut List
§prepare_write: LogicalOutputPluginWriterPrepareWrite
§write: LogicalOutputPluginWriterWrite
§update_progress: LogicalOutputPluginWriterUpdateProgress
§out: StringInfo
§output_plugin_private: *mut c_void
§output_writer_private: *mut c_void
§streaming: bool
§twophase: bool
§accept_writes: bool
§prepared_write: bool
§write_location: XLogRecPtr
§write_xid: TransactionId
§in_create: bool
Trait Implementations§
Source§impl Clone for LogicalDecodingContext
impl Clone for LogicalDecodingContext
Source§fn clone(&self) -> LogicalDecodingContext
fn clone(&self) -> LogicalDecodingContext
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LogicalDecodingContext
impl Debug for LogicalDecodingContext
Source§impl Default for LogicalDecodingContext
impl Default for LogicalDecodingContext
impl Copy for LogicalDecodingContext
Auto Trait Implementations§
impl Freeze for LogicalDecodingContext
impl RefUnwindSafe for LogicalDecodingContext
impl !Send for LogicalDecodingContext
impl !Sync for LogicalDecodingContext
impl Unpin for LogicalDecodingContext
impl UnwindSafe for LogicalDecodingContext
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