pub enum MaxIterationOutcome {
Complete,
Fail,
}Expand description
Enumerates the finite max iteration outcome cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Complete
Use this variant when the contract needs to represent complete; selecting it has no side effect by itself.
Fail
Use this variant when the contract needs to represent fail; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for MaxIterationOutcome
impl Clone for MaxIterationOutcome
Source§fn clone(&self) -> MaxIterationOutcome
fn clone(&self) -> MaxIterationOutcome
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 MaxIterationOutcome
impl Debug for MaxIterationOutcome
Source§impl<'de> Deserialize<'de> for MaxIterationOutcome
impl<'de> Deserialize<'de> for MaxIterationOutcome
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 Hash for MaxIterationOutcome
impl Hash for MaxIterationOutcome
Source§impl PartialEq for MaxIterationOutcome
impl PartialEq for MaxIterationOutcome
Source§fn eq(&self, other: &MaxIterationOutcome) -> bool
fn eq(&self, other: &MaxIterationOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MaxIterationOutcome
impl Serialize for MaxIterationOutcome
impl Copy for MaxIterationOutcome
impl Eq for MaxIterationOutcome
impl StructuralPartialEq for MaxIterationOutcome
Auto Trait Implementations§
impl Freeze for MaxIterationOutcome
impl RefUnwindSafe for MaxIterationOutcome
impl Send for MaxIterationOutcome
impl Sync for MaxIterationOutcome
impl Unpin for MaxIterationOutcome
impl UnsafeUnpin for MaxIterationOutcome
impl UnwindSafe for MaxIterationOutcome
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