#[non_exhaustive]pub enum ChildEvent {
Started {
child_run_id: RunId,
},
Completed {
child_run_id: RunId,
},
Failed {
child_run_id: RunId,
},
Cancelled {
child_run_id: RunId,
},
}Expand description
Parent-child run relationship facts.
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.
Started
A child run was created.
Completed
A child run completed.
Failed
A child run failed.
Cancelled
A child run was cancelled.
Trait Implementations§
Source§impl Clone for ChildEvent
impl Clone for ChildEvent
Source§fn clone(&self) -> ChildEvent
fn clone(&self) -> ChildEvent
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 ChildEvent
impl Debug for ChildEvent
Source§impl<'de> Deserialize<'de> for ChildEvent
impl<'de> Deserialize<'de> for ChildEvent
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
impl Eq for ChildEvent
Source§impl PartialEq for ChildEvent
impl PartialEq for ChildEvent
Source§impl Serialize for ChildEvent
impl Serialize for ChildEvent
impl StructuralPartialEq for ChildEvent
Auto Trait Implementations§
impl Freeze for ChildEvent
impl RefUnwindSafe for ChildEvent
impl Send for ChildEvent
impl Sync for ChildEvent
impl Unpin for ChildEvent
impl UnsafeUnpin for ChildEvent
impl UnwindSafe for ChildEvent
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