Enum essential_state_asm::Constraint 
source · pub enum Constraint {
    Stack(Stack),
    Pred(Pred),
    Alu(Alu),
    Access(Access),
    Crypto(Crypto),
    TotalControlFlow(TotalControlFlow),
    Temporary(Temporary),
}Expand description
All operations available to the constraint checker.
Note that this is a subset of the operations available to state read execution.
Variants§
Stack(Stack)
Operations related to stack manipulation.
Pred(Pred)
Operations for computing predicates.
Alu(Alu)
Operations for computing arithmetic and logic.
Access(Access)
Operations for accessing input data.
Crypto(Crypto)
Operations providing cryptographic functionality.
TotalControlFlow(TotalControlFlow)
Control flow operations that keep the program total.
Temporary(Temporary)
Operations for temporary memory.
Trait Implementations§
source§impl Clone for Constraint
 
impl Clone for Constraint
source§fn clone(&self) -> Constraint
 
fn clone(&self) -> Constraint
Returns a copy 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 Constraint
 
impl Debug for Constraint
source§impl From<Access> for Constraint
 
impl From<Access> for Constraint
source§fn from(subgroup: Access) -> Constraint
 
fn from(subgroup: Access) -> Constraint
Converts to this type from the input type.
source§impl From<Alu> for Constraint
 
impl From<Alu> for Constraint
source§fn from(subgroup: Alu) -> Constraint
 
fn from(subgroup: Alu) -> Constraint
Converts to this type from the input type.
source§impl From<Crypto> for Constraint
 
impl From<Crypto> for Constraint
source§fn from(subgroup: Crypto) -> Constraint
 
fn from(subgroup: Crypto) -> Constraint
Converts to this type from the input type.
source§impl From<Constraint> for StateRead
 
impl From<Constraint> for StateRead
source§fn from(subgroup: Constraint) -> Self
 
fn from(subgroup: Constraint) -> Self
Converts to this type from the input type.
source§impl From<Pred> for Constraint
 
impl From<Pred> for Constraint
source§fn from(subgroup: Pred) -> Constraint
 
fn from(subgroup: Pred) -> Constraint
Converts to this type from the input type.
source§impl From<Stack> for Constraint
 
impl From<Stack> for Constraint
source§fn from(subgroup: Stack) -> Constraint
 
fn from(subgroup: Stack) -> Constraint
Converts to this type from the input type.
source§impl From<Temporary> for Constraint
 
impl From<Temporary> for Constraint
source§fn from(subgroup: Temporary) -> Constraint
 
fn from(subgroup: Temporary) -> Constraint
Converts to this type from the input type.
source§impl From<TotalControlFlow> for Constraint
 
impl From<TotalControlFlow> for Constraint
source§fn from(subgroup: TotalControlFlow) -> Constraint
 
fn from(subgroup: TotalControlFlow) -> Constraint
Converts to this type from the input type.
source§impl Hash for Constraint
 
impl Hash for Constraint
source§impl Ord for Constraint
 
impl Ord for Constraint
source§fn cmp(&self, other: &Constraint) -> Ordering
 
fn cmp(&self, other: &Constraint) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for Constraint
 
impl PartialEq for Constraint
source§fn eq(&self, other: &Constraint) -> bool
 
fn eq(&self, other: &Constraint) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for Constraint
 
impl PartialOrd for Constraint
source§fn partial_cmp(&self, other: &Constraint) -> Option<Ordering>
 
fn partial_cmp(&self, other: &Constraint) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moresource§impl ToBytes for Constraint
 
impl ToBytes for Constraint
§type Bytes = Constraint
 
type Bytes = Constraint
The iterator yielding bytes.
source§impl ToOpcode for Constraint
 
impl ToOpcode for Constraint
§type Opcode = Constraint
 
type Opcode = Constraint
The associated 
Opcode type.source§impl TryFromBytes for Constraint
 
impl TryFromBytes for Constraint
§type Error = FromBytesError
 
type Error = FromBytesError
Represents any error that might occur while parsing an op from bytes.
source§fn try_from_bytes(
    bytes: &mut impl Iterator<Item = u8>,
) -> Option<Result<Constraint, <Constraint as TryFromBytes>::Error>>
 
fn try_from_bytes( bytes: &mut impl Iterator<Item = u8>, ) -> Option<Result<Constraint, <Constraint as TryFromBytes>::Error>>
Parse a single operation from the given iterator yielding bytes. Read more
impl Copy for Constraint
impl Eq for Constraint
impl StructuralPartialEq for Constraint
Auto Trait Implementations§
impl Freeze for Constraint
impl RefUnwindSafe for Constraint
impl Send for Constraint
impl Sync for Constraint
impl Unpin for Constraint
impl UnwindSafe for Constraint
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
    T: Copy,
 
impl<T> CloneToUninit for Twhere
    T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)