pub enum SpawnEventKind {
Spawned,
Exited,
}Expand description
The spawn snapshot types, re-exported so a caller of
SubcConsumer::spawn_snapshot needs no direct subc-control dependency.
Fact observed by the supervisor when a child process starts or exits.
Variants§
Trait Implementations§
Source§impl Clone for SpawnEventKind
impl Clone for SpawnEventKind
Source§fn clone(&self) -> SpawnEventKind
fn clone(&self) -> SpawnEventKind
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 moreimpl Copy for SpawnEventKind
Source§impl Debug for SpawnEventKind
impl Debug for SpawnEventKind
Source§impl<'de> Deserialize<'de> for SpawnEventKind
impl<'de> Deserialize<'de> for SpawnEventKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SpawnEventKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SpawnEventKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SpawnEventKind
Source§impl PartialEq for SpawnEventKind
impl PartialEq for SpawnEventKind
Source§impl Serialize for SpawnEventKind
impl Serialize for SpawnEventKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SpawnEventKind
Auto Trait Implementations§
impl Forget for SpawnEventKind
impl Freeze for SpawnEventKind
impl Move for SpawnEventKind
impl RefUnwindSafe for SpawnEventKind
impl Send for SpawnEventKind
impl Sync for SpawnEventKind
impl Unpin for SpawnEventKind
impl UnsafeUnpin for SpawnEventKind
impl UnwindSafe for SpawnEventKind
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