pub enum TaskEventType {
Start,
Wait,
Timeout(Duration),
Finished(FinishedTask),
}Expand description
TaskEventType is the event type of TaskEvent.
Variants§
Trait Implementations§
Source§impl Clone for TaskEventType
impl Clone for TaskEventType
Source§fn clone(&self) -> TaskEventType
fn clone(&self) -> TaskEventType
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<'de> Deserialize<'de> for TaskEventType
impl<'de> Deserialize<'de> for TaskEventType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TaskEventType
impl Display for TaskEventType
Source§impl PartialEq for TaskEventType
impl PartialEq for TaskEventType
Auto Trait Implementations§
impl Freeze for TaskEventType
impl RefUnwindSafe for TaskEventType
impl Send for TaskEventType
impl Sync for TaskEventType
impl Unpin for TaskEventType
impl UnwindSafe for TaskEventType
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