pub struct SpawnEvent {
pub cursor: SpawnCursor,
pub kind: SpawnEventKind,
pub module_id: String,
pub spawn_generation: u64,
pub pid: u32,
pub exit_code: Option<i32>,
pub exit_signal: Option<i32>,
}Expand description
The spawn snapshot types, re-exported so a caller of
SubcConsumer::spawn_snapshot needs no direct subc-control dependency.
One retained or live spawn event.
Exit events intentionally carry no disposition or reason because exit classification is recorded separately; credential consumers revoke on every exit regardless of the cause.
Fields§
§cursor: SpawnCursor§kind: SpawnEventKind§module_id: String§spawn_generation: u64The launch’s generation; see LiveSpawn::spawn_generation.
pid: u32§exit_code: Option<i32>§exit_signal: Option<i32>Trait Implementations§
Source§impl Clone for SpawnEvent
impl Clone for SpawnEvent
Source§fn clone(&self) -> SpawnEvent
fn clone(&self) -> SpawnEvent
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 SpawnEvent
impl Debug for SpawnEvent
Source§impl<'de> Deserialize<'de> for SpawnEvent
impl<'de> Deserialize<'de> for SpawnEvent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SpawnEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SpawnEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SpawnEvent
Source§impl PartialEq for SpawnEvent
impl PartialEq for SpawnEvent
Source§impl Serialize for SpawnEvent
impl Serialize for SpawnEvent
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 SpawnEvent
Auto Trait Implementations§
impl Forget for SpawnEvent
impl Freeze for SpawnEvent
impl Move for SpawnEvent
impl RefUnwindSafe for SpawnEvent
impl Send for SpawnEvent
impl Sync for SpawnEvent
impl Unpin for SpawnEvent
impl UnsafeUnpin for SpawnEvent
impl UnwindSafe for SpawnEvent
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