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
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: u64§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<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 SpawnEvent
Source§impl PartialEq for SpawnEvent
impl PartialEq for SpawnEvent
Source§impl Serialize for SpawnEvent
impl Serialize for SpawnEvent
impl StructuralPartialEq for SpawnEvent
Auto Trait Implementations§
impl Freeze 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