pub struct ExecutionId(/* private fields */);Expand description
One supervised run.
The supervisor mints it once per run and every bus participant carries it:
services, drivers, simulators, tools, ad hoc publishers, and later the
operator. It is part of the bus session root
(<namespace>/robots/<robot-id>/x<execution-id>), which turns “previous-run
traffic is not observed as current” from an operational assumption into a
structural property. It is transport scoping and never part of a contract
name.
Implementations§
Source§impl ExecutionId
impl ExecutionId
Sourcepub fn parse(value: &str) -> Result<Self, InvalidIdentity>
pub fn parse(value: &str) -> Result<Self, InvalidIdentity>
Parse a rendered execution identity (as it appears in the launch contract and the key root).
Sourcepub fn as_key_segment(&self) -> String
pub fn as_key_segment(&self) -> String
The identity as it appears in the bus key root and the launch contract.
Trait Implementations§
Source§impl Clone for ExecutionId
impl Clone for ExecutionId
Source§fn clone(&self) -> ExecutionId
fn clone(&self) -> ExecutionId
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 moreimpl Copy for ExecutionId
Source§impl Debug for ExecutionId
impl Debug for ExecutionId
Source§impl<'de> Deserialize<'de> for ExecutionId
impl<'de> Deserialize<'de> for ExecutionId
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
Source§impl Display for ExecutionId
impl Display for ExecutionId
impl Eq for ExecutionId
Source§impl Hash for ExecutionId
impl Hash for ExecutionId
Source§impl PartialEq for ExecutionId
impl PartialEq for ExecutionId
Source§impl Serialize for ExecutionId
impl Serialize for ExecutionId
impl StructuralPartialEq for ExecutionId
Auto Trait Implementations§
impl Freeze for ExecutionId
impl RefUnwindSafe for ExecutionId
impl Send for ExecutionId
impl Sync for ExecutionId
impl Unpin for ExecutionId
impl UnsafeUnpin for ExecutionId
impl UnwindSafe for ExecutionId
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