pub enum PgOutputMessage<'a> {
Show 15 variants
Begin(BeginMessage),
Commit(CommitMessage),
Relation(RelationMessage<'a>),
Insert(InsertMessage<'a>),
Update(UpdateMessage<'a>),
Delete(DeleteMessage<'a>),
Truncate(TruncateMessage),
Origin(OriginMessage<'a>),
Type(TypeMessage<'a>),
LogicalDecodingMessage(LogicalDecodingMessage<'a>),
StreamStart(StreamStartMessage),
StreamStop,
StreamCommit(StreamCommitMessage),
StreamAbort(StreamAbortMessage),
Unsupported {
msg_type: u8,
data: &'a [u8],
},
}Variants§
Begin(BeginMessage)
Commit(CommitMessage)
Relation(RelationMessage<'a>)
Insert(InsertMessage<'a>)
Update(UpdateMessage<'a>)
Delete(DeleteMessage<'a>)
Truncate(TruncateMessage)
Origin(OriginMessage<'a>)
Type(TypeMessage<'a>)
LogicalDecodingMessage(LogicalDecodingMessage<'a>)
StreamStart(StreamStartMessage)
StreamStop
StreamCommit(StreamCommitMessage)
StreamAbort(StreamAbortMessage)
Unsupported
A pgoutput message type that is part of the protocol but not yet fully supported (e.g., two-phase commit messages from proto_version 3+).
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PgOutputMessage<'a>
impl<'a> RefUnwindSafe for PgOutputMessage<'a>
impl<'a> Send for PgOutputMessage<'a>
impl<'a> Sync for PgOutputMessage<'a>
impl<'a> Unpin for PgOutputMessage<'a>
impl<'a> UnsafeUnpin for PgOutputMessage<'a>
impl<'a> UnwindSafe for PgOutputMessage<'a>
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