#[repr(C)]pub struct WalRcvData {Show 23 fields
pub pid: pid_t,
pub walRcvState: Type,
pub walRcvStoppedCV: ConditionVariable,
pub startTime: pg_time_t,
pub receiveStart: XLogRecPtr,
pub receiveStartTLI: TimeLineID,
pub flushedUpto: XLogRecPtr,
pub receivedTLI: TimeLineID,
pub latestChunkStart: XLogRecPtr,
pub lastMsgSendTime: TimestampTz,
pub lastMsgReceiptTime: TimestampTz,
pub latestWalEnd: XLogRecPtr,
pub latestWalEndTime: TimestampTz,
pub conninfo: [c_char; 1024],
pub sender_host: [c_char; 1025],
pub sender_port: c_int,
pub slotname: [c_char; 64],
pub is_temp_slot: bool,
pub ready_to_display: bool,
pub latch: *mut Latch,
pub mutex: slock_t,
pub writtenUpto: pg_atomic_uint64,
pub force_reply: sig_atomic_t,
}
Fields§
§pid: pid_t
§walRcvState: Type
§walRcvStoppedCV: ConditionVariable
§startTime: pg_time_t
§receiveStart: XLogRecPtr
§receiveStartTLI: TimeLineID
§flushedUpto: XLogRecPtr
§receivedTLI: TimeLineID
§latestChunkStart: XLogRecPtr
§lastMsgSendTime: TimestampTz
§lastMsgReceiptTime: TimestampTz
§latestWalEnd: XLogRecPtr
§latestWalEndTime: TimestampTz
§conninfo: [c_char; 1024]
§sender_host: [c_char; 1025]
§sender_port: c_int
§slotname: [c_char; 64]
§is_temp_slot: bool
§ready_to_display: bool
§latch: *mut Latch
§mutex: slock_t
§writtenUpto: pg_atomic_uint64
§force_reply: sig_atomic_t
Trait Implementations§
Source§impl Clone for WalRcvData
impl Clone for WalRcvData
Source§fn clone(&self) -> WalRcvData
fn clone(&self) -> WalRcvData
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 WalRcvData
impl Debug for WalRcvData
Source§impl Default for WalRcvData
impl Default for WalRcvData
impl Copy for WalRcvData
Auto Trait Implementations§
impl Freeze for WalRcvData
impl RefUnwindSafe for WalRcvData
impl !Send for WalRcvData
impl !Sync for WalRcvData
impl Unpin for WalRcvData
impl UnwindSafe for WalRcvData
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