#[non_exhaustive]pub enum RunPolicy {
Concurrent,
}Expand description
How a run coexists with the runs an interpreter already hosts.
Only Concurrent is honoured today; the enum is
#[non_exhaustive] so conflict-resolution policies that need resource-claims
(preempt, queue, blend, reject) can be added later without a breaking change.
Arbitration, when those land, is the interpreter’s — it is the only thing
that sees every run.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Concurrent
Run alongside every other run. Overlapping actuation writes are last-write-wins — two runs driving the same output will fight.
Trait Implementations§
impl Copy for RunPolicy
Source§impl<'de> Deserialize<'de> for RunPolicy
impl<'de> Deserialize<'de> for RunPolicy
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 RunPolicy
impl StructuralPartialEq for RunPolicy
Auto Trait Implementations§
impl Freeze for RunPolicy
impl RefUnwindSafe for RunPolicy
impl Send for RunPolicy
impl Sync for RunPolicy
impl Unpin for RunPolicy
impl UnsafeUnpin for RunPolicy
impl UnwindSafe for RunPolicy
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.