pub enum ChildLifecycleAction {
ShutdownIntent,
ShutdownCompleted,
DetachIntent,
Detached,
}Expand description
Enumerates the finite child lifecycle action cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
ShutdownIntent
Use this variant when the contract needs to represent shutdown intent; selecting it has no side effect by itself.
ShutdownCompleted
Use this variant when the contract needs to represent shutdown completed; selecting it has no side effect by itself.
DetachIntent
Use this variant when the contract needs to represent detach intent; selecting it has no side effect by itself.
Detached
Use this variant when the contract needs to represent detached; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for ChildLifecycleAction
impl Clone for ChildLifecycleAction
Source§fn clone(&self) -> ChildLifecycleAction
fn clone(&self) -> ChildLifecycleAction
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 ChildLifecycleAction
impl Debug for ChildLifecycleAction
Source§impl<'de> Deserialize<'de> for ChildLifecycleAction
impl<'de> Deserialize<'de> for ChildLifecycleAction
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 PartialEq for ChildLifecycleAction
impl PartialEq for ChildLifecycleAction
Source§fn eq(&self, other: &ChildLifecycleAction) -> bool
fn eq(&self, other: &ChildLifecycleAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChildLifecycleAction
impl Serialize for ChildLifecycleAction
impl Eq for ChildLifecycleAction
impl StructuralPartialEq for ChildLifecycleAction
Auto Trait Implementations§
impl Freeze for ChildLifecycleAction
impl RefUnwindSafe for ChildLifecycleAction
impl Send for ChildLifecycleAction
impl Sync for ChildLifecycleAction
impl Unpin for ChildLifecycleAction
impl UnsafeUnpin for ChildLifecycleAction
impl UnwindSafe for ChildLifecycleAction
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