pub enum ConversationLogOutcome {
Empty,
Current {
generation: u64,
rows: u64,
},
Migrated {
from_generation: u64,
to_generation: u64,
rows: u64,
converted_rows: u64,
bytes: u64,
},
}Expand description
The result of migrating one conversation.
Variants§
Empty
The conversation has no log rows: its registry row was written and its genesis never was.
Current
The authoritative log already holds only current rows.
Migrated
The log was rewritten into a new generation that is now authoritative.
Fields
Trait Implementations§
Source§impl Clone for ConversationLogOutcome
impl Clone for ConversationLogOutcome
Source§impl Debug for ConversationLogOutcome
impl Debug for ConversationLogOutcome
impl Eq for ConversationLogOutcome
Source§impl PartialEq for ConversationLogOutcome
impl PartialEq for ConversationLogOutcome
impl StructuralPartialEq for ConversationLogOutcome
Auto Trait Implementations§
impl Freeze for ConversationLogOutcome
impl RefUnwindSafe for ConversationLogOutcome
impl Send for ConversationLogOutcome
impl Sync for ConversationLogOutcome
impl Unpin for ConversationLogOutcome
impl UnsafeUnpin for ConversationLogOutcome
impl UnwindSafe for ConversationLogOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.