#[non_exhaustive]pub enum ReplicationMessage<D> {
XLogData(XLogDataBody<D>),
PrimaryKeepAlive(PrimaryKeepAliveBody),
}
Expand description
An enum representing Postgres backend replication messages.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
XLogData(XLogDataBody<D>)
PrimaryKeepAlive(PrimaryKeepAliveBody)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<D> Freeze for ReplicationMessage<D>where
D: Freeze,
impl<D> RefUnwindSafe for ReplicationMessage<D>where
D: RefUnwindSafe,
impl<D> Send for ReplicationMessage<D>where
D: Send,
impl<D> Sync for ReplicationMessage<D>where
D: Sync,
impl<D> Unpin for ReplicationMessage<D>where
D: Unpin,
impl<D> UnwindSafe for ReplicationMessage<D>where
D: UnwindSafe,
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