pub enum FrontendReplication {
StandbyStatus {
written: u64,
flushed: u64,
applied: u64,
client_time: i64,
reply_requested: bool,
},
HotStandbyFeedback {
client_time: i64,
xmin: u32,
xmin_epoch: u32,
catalog_xmin: u32,
catalog_xmin_epoch: u32,
},
Unknown {
tag: u8,
body: Bytes,
},
}Expand description
A typed payload sent by a standby inside frontend CopyData.
Variants§
StandbyStatus
The standby’s WAL receipt, flush, and replay positions.
Fields
HotStandbyFeedback
Transaction horizons used to prevent premature vacuuming on the primary.
Fields
Unknown
An extension payload whose tag is not recognised by this crate.
Implementations§
Trait Implementations§
Source§impl Clone for FrontendReplication
impl Clone for FrontendReplication
Source§fn clone(&self) -> FrontendReplication
fn clone(&self) -> FrontendReplication
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FrontendReplication
impl Debug for FrontendReplication
impl Eq for FrontendReplication
Source§impl PartialEq for FrontendReplication
impl PartialEq for FrontendReplication
impl StructuralPartialEq for FrontendReplication
Auto Trait Implementations§
impl !Freeze for FrontendReplication
impl RefUnwindSafe for FrontendReplication
impl Send for FrontendReplication
impl Sync for FrontendReplication
impl Unpin for FrontendReplication
impl UnsafeUnpin for FrontendReplication
impl UnwindSafe for FrontendReplication
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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