pub enum LoopControlRequest {
Status,
Start {
operation_id: String,
expected_generation: Option<String>,
expected_revision: u64,
objective: String,
max_iterations: u32,
max_total_rounds: u32,
},
Update {
operation_id: String,
generation: String,
expected_revision: u64,
objective: Option<String>,
max_iterations: Option<u32>,
max_total_rounds: Option<u32>,
},
Stop {
operation_id: String,
generation: String,
expected_revision: u64,
},
}Expand description
A command for the executing session only; no target-session routing exists.
Deserialization rejects extra fields for every action, including status.
UUIDs and objectives retain their supplied spelling for owner-side operation
fingerprints. State-dependent checks belong to the owning runner.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LoopControlRequest
impl Clone for LoopControlRequest
Source§fn clone(&self) -> LoopControlRequest
fn clone(&self) -> LoopControlRequest
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 LoopControlRequest
impl Debug for LoopControlRequest
Source§impl<'de> Deserialize<'de> for LoopControlRequest
impl<'de> Deserialize<'de> for LoopControlRequest
Source§fn deserialize<D>(
deserializer: D,
) -> Result<LoopControlRequest, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<LoopControlRequest, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LoopControlRequest
Source§impl PartialEq for LoopControlRequest
impl PartialEq for LoopControlRequest
Source§impl Serialize for LoopControlRequest
impl Serialize for LoopControlRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LoopControlRequest
Auto Trait Implementations§
impl Freeze for LoopControlRequest
impl RefUnwindSafe for LoopControlRequest
impl Send for LoopControlRequest
impl Sync for LoopControlRequest
impl Unpin for LoopControlRequest
impl UnsafeUnpin for LoopControlRequest
impl UnwindSafe for LoopControlRequest
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.