pub enum OperationEvent {
Started(String),
Log(String),
Progress {
current_seconds: f64,
total_seconds: f64,
},
Finished(Result<(), String>),
}Variants§
Trait Implementations§
Source§impl Clone for OperationEvent
impl Clone for OperationEvent
Source§fn clone(&self) -> OperationEvent
fn clone(&self) -> OperationEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OperationEvent
impl Debug for OperationEvent
Source§impl PartialEq for OperationEvent
impl PartialEq for OperationEvent
impl StructuralPartialEq for OperationEvent
Auto Trait Implementations§
impl Freeze for OperationEvent
impl RefUnwindSafe for OperationEvent
impl Send for OperationEvent
impl Sync for OperationEvent
impl Unpin for OperationEvent
impl UnsafeUnpin for OperationEvent
impl UnwindSafe for OperationEvent
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