#[non_exhaustive]pub enum RuntimeEvent {
TaskStarted {
id: TaskId,
name: Arc<str>,
},
TaskFinished {
id: TaskId,
name: Arc<str>,
},
TaskFailed {
id: TaskId,
name: Arc<str>,
operation: Operation,
code: ErrorCode,
},
TaskPanicked {
id: TaskId,
name: Arc<str>,
},
TaskCancelled {
id: TaskId,
name: Arc<str>,
},
TaskAborted {
id: TaskId,
name: Arc<str>,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for RuntimeEvent
impl Clone for RuntimeEvent
Auto Trait Implementations§
impl Forget for RuntimeEvent
impl Freeze for RuntimeEvent
impl Move for RuntimeEvent
impl RefUnwindSafe for RuntimeEvent
impl Send for RuntimeEvent
impl Sync for RuntimeEvent
impl Unpin for RuntimeEvent
impl UnsafeUnpin for RuntimeEvent
impl UnwindSafe for RuntimeEvent
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