pub enum ParticipantClock {
Real,
Simulation,
Clockless,
}Expand description
The scheduler policy persisted for one runtime participant instance.
This belongs to the compiled runtime bundle because it is a runtime selection fact, not a process-contract/launch parser type.
Variants§
Real
Follow the host’s boot-anchored real clock.
Simulation
Follow the simulation world clock supplied by the runtime.
Clockless
Do not schedule robot-time steps.
Trait Implementations§
Source§impl Clone for ParticipantClock
impl Clone for ParticipantClock
Source§fn clone(&self) -> ParticipantClock
fn clone(&self) -> ParticipantClock
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 ParticipantClock
Source§impl Debug for ParticipantClock
impl Debug for ParticipantClock
Source§impl DescribeWire for ParticipantClock
impl DescribeWire for ParticipantClock
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 ParticipantClock
impl<'de> Deserialize<'de> for ParticipantClock
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
Source§impl Display for ParticipantClock
impl Display for ParticipantClock
impl Eq for ParticipantClock
Source§impl PartialEq for ParticipantClock
impl PartialEq for ParticipantClock
Source§impl Serialize for ParticipantClock
impl Serialize for ParticipantClock
impl StructuralPartialEq for ParticipantClock
Auto Trait Implementations§
impl Freeze for ParticipantClock
impl RefUnwindSafe for ParticipantClock
impl Send for ParticipantClock
impl Sync for ParticipantClock
impl Unpin for ParticipantClock
impl UnsafeUnpin for ParticipantClock
impl UnwindSafe for ParticipantClock
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.