Struct pgx_pg_sys::WalRcvData

source ·
#[repr(C)]
pub struct WalRcvData {
Show 23 fields pub pid: pid_t, pub walRcvState: WalRcvState, 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_twalRcvState: WalRcvStatewalRcvStoppedCV: ConditionVariablestartTime: pg_time_treceiveStart: XLogRecPtrreceiveStartTLI: TimeLineIDflushedUpto: XLogRecPtrreceivedTLI: TimeLineIDlatestChunkStart: XLogRecPtrlastMsgSendTime: TimestampTzlastMsgReceiptTime: TimestampTzlatestWalEnd: XLogRecPtrlatestWalEndTime: TimestampTzconninfo: [c_char; 1024]sender_host: [c_char; 1025]sender_port: c_intslotname: [c_char; 64]is_temp_slot: boolready_to_display: boollatch: *mut Latchmutex: slock_twrittenUpto: pg_atomic_uint64force_reply: sig_atomic_t

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more