pub enum WriteLog {
Inserted {
table: String,
row_id: RowId,
},
Updated {
table: String,
row_id: RowId,
old_row: Row,
},
Deleted {
table: String,
row_id: RowId,
row: Row,
},
}Expand description
写操作日志(用于回滚)
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WriteLog
impl RefUnwindSafe for WriteLog
impl Send for WriteLog
impl Sync for WriteLog
impl Unpin for WriteLog
impl UnsafeUnpin for WriteLog
impl UnwindSafe for WriteLog
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