pub enum WalMessage {
Begin(TransactionInfo),
Commit(TransactionInfo),
Relation(RelationInfo),
Insert {
relation_id: u32,
tuple: Vec<PostgresValue>,
},
Update {
relation_id: u32,
old_tuple: Option<Vec<PostgresValue>>,
new_tuple: Vec<PostgresValue>,
},
Delete {
relation_id: u32,
old_tuple: Vec<PostgresValue>,
},
Truncate {
relation_ids: Vec<u32>,
},
}Variants§
Begin(TransactionInfo)
Commit(TransactionInfo)
Relation(RelationInfo)
Insert
Update
Delete
Truncate
Trait Implementations§
Source§impl Clone for WalMessage
impl Clone for WalMessage
Source§fn clone(&self) -> WalMessage
fn clone(&self) -> WalMessage
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for WalMessage
impl RefUnwindSafe for WalMessage
impl Send for WalMessage
impl Sync for WalMessage
impl Unpin for WalMessage
impl UnwindSafe for WalMessage
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