pub enum RuntimeDocument {
V0(Runtime),
}Expand description
A schema-tagged persisted runtime document.
Variants§
V0(Runtime)
The first runtime bundle schema. Older/future schemas are refused rather than guessed at by a runtime process.
Implementations§
Source§impl RuntimeDocument
impl RuntimeDocument
Sourcepub fn framework_line(&self) -> CompatibilityLine
pub fn framework_line(&self) -> CompatibilityLine
The one compatibility line validated for this execution.
Sourcepub fn participants(&self) -> &[RuntimeParticipant]
pub fn participants(&self) -> &[RuntimeParticipant]
The final participant set, in persisted order.
Sourcepub fn artifacts(&self) -> &BTreeMap<ParticipantArtifactId, BinaryReference>
pub fn artifacts(&self) -> &BTreeMap<ParticipantArtifactId, BinaryReference>
The reusable executable artifacts selected by participant instances.
Sourcepub fn participant(
&self,
id: &ParticipantId,
) -> Result<&RuntimeParticipant, SelectionError>
pub fn participant( &self, id: &ParticipantId, ) -> Result<&RuntimeParticipant, SelectionError>
Find the exact persisted participant selected by a process boundary.
Trait Implementations§
Source§impl Clone for RuntimeDocument
impl Clone for RuntimeDocument
Source§fn clone(&self) -> RuntimeDocument
fn clone(&self) -> RuntimeDocument
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 RuntimeDocument
impl Debug for RuntimeDocument
Source§impl DescribeWire for RuntimeDocument
impl DescribeWire for RuntimeDocument
Source§fn wire_schema() -> WireSchema
fn wire_schema() -> WireSchema
The shape a value of this type puts on the wire.
Source§impl<'de> Deserialize<'de> for RuntimeDocument
impl<'de> Deserialize<'de> for RuntimeDocument
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RuntimeDocument
impl RefUnwindSafe for RuntimeDocument
impl Send for RuntimeDocument
impl Sync for RuntimeDocument
impl Unpin for RuntimeDocument
impl UnsafeUnpin for RuntimeDocument
impl UnwindSafe for RuntimeDocument
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