pub enum ExecutionProtocol {
ManagedByTarget {
measure: Capability,
sample: Capability,
exp_value: Capability,
dump: Capability,
},
SampleBased(ExpValueStrategy),
}
Expand description
How the execution will be handled.
Variants§
ManagedByTarget
All measurements are computed by the execution target.
SampleBased(ExpValueStrategy)
The measure and expected value are computed by the runtime lib.
Trait Implementations§
Source§impl Clone for ExecutionProtocol
impl Clone for ExecutionProtocol
Source§fn clone(&self) -> ExecutionProtocol
fn clone(&self) -> ExecutionProtocol
Returns a duplicate of the value. Read more
1.0.0 · 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 ExecutionProtocol
impl Debug for ExecutionProtocol
Source§impl Default for ExecutionProtocol
impl Default for ExecutionProtocol
Source§impl<'de> Deserialize<'de> for ExecutionProtocol
impl<'de> Deserialize<'de> for ExecutionProtocol
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
Auto Trait Implementations§
impl Freeze for ExecutionProtocol
impl RefUnwindSafe for ExecutionProtocol
impl Send for ExecutionProtocol
impl Sync for ExecutionProtocol
impl Unpin for ExecutionProtocol
impl UnwindSafe for ExecutionProtocol
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more