pub struct RuntimeParticipant { /* private fields */ }Expand description
One exact process entry in the final runtime graph.
Implementations§
Source§impl RuntimeParticipant
impl RuntimeParticipant
pub fn new( id: ParticipantId, artifact: ParticipantArtifactId, config: Option<Value>, component: Option<ComponentInstanceId>, clock: ParticipantClock, ) -> Self
pub const fn id(&self) -> &ParticipantId
pub const fn artifact(&self) -> &ParticipantArtifactId
pub fn config(&self) -> Option<&Value>
pub const fn component(&self) -> Option<&ComponentInstanceId>
pub const fn clock(&self) -> ParticipantClock
Trait Implementations§
Source§impl Clone for RuntimeParticipant
impl Clone for RuntimeParticipant
Source§fn clone(&self) -> RuntimeParticipant
fn clone(&self) -> RuntimeParticipant
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 RuntimeParticipant
impl Debug for RuntimeParticipant
Source§impl<'de> Deserialize<'de> for RuntimeParticipant
impl<'de> Deserialize<'de> for RuntimeParticipant
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
Auto Trait Implementations§
impl Freeze for RuntimeParticipant
impl RefUnwindSafe for RuntimeParticipant
impl Send for RuntimeParticipant
impl Sync for RuntimeParticipant
impl Unpin for RuntimeParticipant
impl UnsafeUnpin for RuntimeParticipant
impl UnwindSafe for RuntimeParticipant
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