pub struct LiveSpawn {
pub module_id: String,
pub spawn_generation: u64,
pub pid: u32,
pub spawned_at_ms: u64,
}Expand description
The spawn snapshot types, re-exported so a caller of
SubcConsumer::spawn_snapshot needs no direct subc-control dependency.
One process present in an atomic supervisor spawn snapshot.
Fields§
§module_id: String§spawn_generation: u64Names one launch of this module: unique and increasing per module
within one daemon run (one daemon_incarnation). The daemon assigns it when the launch
starts, before the process is running, and it is the spawn a caller
or target attestation names. A launch that never runs keeps its number,
so successive generations may skip.
pid: u32§spawned_at_ms: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for LiveSpawn
impl<'de> Deserialize<'de> for LiveSpawn
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LiveSpawn, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LiveSpawn, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LiveSpawn
Source§impl Serialize for LiveSpawn
impl Serialize for LiveSpawn
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 LiveSpawn
Auto Trait Implementations§
impl Forget for LiveSpawn
impl Freeze for LiveSpawn
impl Move for LiveSpawn
impl RefUnwindSafe for LiveSpawn
impl Send for LiveSpawn
impl Sync for LiveSpawn
impl Unpin for LiveSpawn
impl UnsafeUnpin for LiveSpawn
impl UnwindSafe for LiveSpawn
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