pub struct ChildSpec {
pub name: String,
pub module: String,
pub function: String,
pub arguments: Vec<ChildArgument>,
pub liveness_message: i64,
pub stop_message: i64,
}Expand description
A retained specification for one persistent linked child.
Fields§
§name: StringName used for status, commands, and failure reports.
module: StringLoaded BEAM module containing the entrypoint.
function: StringExported entry function.
arguments: Vec<ChildArgument>Entrypoint arguments materialized when the child is spawned.
liveness_message: i64Integer mailbox message used for a liveness round-trip.
stop_message: i64Integer mailbox message requesting an orderly normal exit.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChildSpec
impl<'de> Deserialize<'de> for ChildSpec
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 ChildSpec
impl StructuralPartialEq for ChildSpec
Auto Trait Implementations§
impl Freeze for ChildSpec
impl RefUnwindSafe for ChildSpec
impl Send for ChildSpec
impl Sync for ChildSpec
impl Unpin for ChildSpec
impl UnsafeUnpin for ChildSpec
impl UnwindSafe for ChildSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.