#[repr(C)]pub struct ReplicationSlot {Show 14 fields
pub mutex: slock_t,
pub in_use: bool,
pub active_pid: pid_t,
pub just_dirtied: bool,
pub dirty: bool,
pub effective_xmin: TransactionId,
pub effective_catalog_xmin: TransactionId,
pub data: ReplicationSlotPersistentData,
pub io_in_progress_lock: LWLock,
pub active_cv: ConditionVariable,
pub candidate_catalog_xmin: TransactionId,
pub candidate_xmin_lsn: XLogRecPtr,
pub candidate_restart_valid: XLogRecPtr,
pub candidate_restart_lsn: XLogRecPtr,
}
Fields§
§mutex: slock_t
§in_use: bool
§active_pid: pid_t
§just_dirtied: bool
§dirty: bool
§effective_xmin: TransactionId
§effective_catalog_xmin: TransactionId
§data: ReplicationSlotPersistentData
§io_in_progress_lock: LWLock
§active_cv: ConditionVariable
§candidate_catalog_xmin: TransactionId
§candidate_xmin_lsn: XLogRecPtr
§candidate_restart_valid: XLogRecPtr
§candidate_restart_lsn: XLogRecPtr
Trait Implementations§
Source§impl Clone for ReplicationSlot
impl Clone for ReplicationSlot
Source§fn clone(&self) -> ReplicationSlot
fn clone(&self) -> ReplicationSlot
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 ReplicationSlot
impl Debug for ReplicationSlot
Source§impl Default for ReplicationSlot
impl Default for ReplicationSlot
impl Copy for ReplicationSlot
Auto Trait Implementations§
impl Freeze for ReplicationSlot
impl RefUnwindSafe for ReplicationSlot
impl Send for ReplicationSlot
impl Sync for ReplicationSlot
impl Unpin for ReplicationSlot
impl UnwindSafe for ReplicationSlot
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