pub enum ChildArgument {
SupervisorPid,
Integer(i64),
Atom(String),
}Expand description
A serializable child-entrypoint argument supported by the native host seam.
Variants§
SupervisorPid
PID of the component’s host-native supervisor.
Integer(i64)
A BEAM small integer.
Atom(String)
An atom interned in the scheduler’s atom table.
Trait Implementations§
Source§impl Clone for ChildArgument
impl Clone for ChildArgument
Source§fn clone(&self) -> ChildArgument
fn clone(&self) -> ChildArgument
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 ChildArgument
impl Debug for ChildArgument
Source§impl<'de> Deserialize<'de> for ChildArgument
impl<'de> Deserialize<'de> for ChildArgument
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 ChildArgument
Source§impl PartialEq for ChildArgument
impl PartialEq for ChildArgument
Source§impl Serialize for ChildArgument
impl Serialize for ChildArgument
impl StructuralPartialEq for ChildArgument
Auto Trait Implementations§
impl Freeze for ChildArgument
impl RefUnwindSafe for ChildArgument
impl Send for ChildArgument
impl Sync for ChildArgument
impl Unpin for ChildArgument
impl UnsafeUnpin for ChildArgument
impl UnwindSafe for ChildArgument
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.