pub enum TopicLogSyncEvent<E> {
SyncStarted(LogSyncMetrics),
SyncStatus(LogSyncMetrics),
SyncFinished(LogSyncMetrics),
LiveModeStarted,
LiveModeFinished(TopicLogSyncLiveMetrics),
Operation(Box<Operation<E>>),
Success,
Failed {
error: String,
},
}Expand description
Events emitted from topic log sync sessions.
Variants§
SyncStarted(LogSyncMetrics)
SyncStatus(LogSyncMetrics)
SyncFinished(LogSyncMetrics)
LiveModeStarted
LiveModeFinished(TopicLogSyncLiveMetrics)
Operation(Box<Operation<E>>)
Success
Failed
Trait Implementations§
Source§impl<E: Clone> Clone for TopicLogSyncEvent<E>
impl<E: Clone> Clone for TopicLogSyncEvent<E>
Source§fn clone(&self) -> TopicLogSyncEvent<E>
fn clone(&self) -> TopicLogSyncEvent<E>
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 moreSource§impl<E: Debug> Debug for TopicLogSyncEvent<E>
impl<E: Debug> Debug for TopicLogSyncEvent<E>
Source§impl<E> From<LogSyncEvent<E>> for TopicLogSyncEvent<E>
impl<E> From<LogSyncEvent<E>> for TopicLogSyncEvent<E>
Source§fn from(event: LogSyncEvent<E>) -> Self
fn from(event: LogSyncEvent<E>) -> Self
Converts to this type from the input type.
Source§impl<E: PartialEq> PartialEq for TopicLogSyncEvent<E>
impl<E: PartialEq> PartialEq for TopicLogSyncEvent<E>
impl<E> StructuralPartialEq for TopicLogSyncEvent<E>
Auto Trait Implementations§
impl<E> Freeze for TopicLogSyncEvent<E>
impl<E> RefUnwindSafe for TopicLogSyncEvent<E>where
E: RefUnwindSafe,
impl<E> Send for TopicLogSyncEvent<E>where
E: Send,
impl<E> Sync for TopicLogSyncEvent<E>where
E: Sync,
impl<E> Unpin for TopicLogSyncEvent<E>
impl<E> UnwindSafe for TopicLogSyncEvent<E>where
E: 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