#[repr(u8)]pub enum Access {
Show 14 variants
ThisAddress = 48,
ThisContractAddress = 49,
ThisPathway = 50,
PredicateAt = 51,
MutKeys = 52,
PubVarKeys = 53,
RepeatCounter = 54,
DecisionVar = 55,
DecisionVarLen = 56,
State = 57,
StateLen = 58,
PubVar = 59,
PubVarLen = 60,
NumSlots = 61,
}
Expand description
Operations for accessing input data.
Variants§
ThisAddress = 48
0x30
Opcode associated with the Access::ThisAddress operation.
ThisContractAddress = 49
0x31
Opcode associated with the Access::ThisContractAddress operation.
ThisPathway = 50
0x32
Opcode associated with the Access::ThisPathway operation.
PredicateAt = 51
0x33
Opcode associated with the Access::PredicateAt operation.
MutKeys = 52
0x34
Opcode associated with the Access::MutKeys operation.
PubVarKeys = 53
0x35
Opcode associated with the Access::PubVarKeys operation.
RepeatCounter = 54
0x36
Opcode associated with the Access::RepeatCounter operation.
DecisionVar = 55
0x37
Opcode associated with the Access::DecisionVar operation.
DecisionVarLen = 56
0x38
Opcode associated with the Access::DecisionVarLen operation.
State = 57
0x39
Opcode associated with the Access::State operation.
StateLen = 58
0x3A
Opcode associated with the Access::StateLen operation.
PubVar = 59
0x3B
Opcode associated with the Access::PubVar operation.
PubVarLen = 60
0x3C
Opcode associated with the Access::PubVarLen operation.
NumSlots = 61
0x3D
Opcode associated with the Access::NumSlots operation.
Trait Implementations§
source§impl From<Access> for Constraint
impl From<Access> for Constraint
source§impl Ord for Access
impl Ord for Access
source§impl ParseOp for Access
impl ParseOp for Access
source§fn parse_op(
&self,
bytes: &mut impl Iterator<Item = u8>,
) -> Result<Self::Op, Self::Error>
fn parse_op( &self, bytes: &mut impl Iterator<Item = u8>, ) -> Result<Self::Op, Self::Error>
Attempt to parse the operation associated with the opcode from the given bytes.
Only consumes the bytes necessary to construct any associated data.
Returns an error in the case that the given bytes
iterator
contains insufficient bytes to parse the op.
source§type Error = NotEnoughBytesError
type Error = NotEnoughBytesError
source§impl PartialOrd for Access
impl PartialOrd for Access
impl Copy for Access
impl Eq for Access
impl StructuralPartialEq for Access
Auto Trait Implementations§
impl Freeze for Access
impl RefUnwindSafe for Access
impl Send for Access
impl Sync for Access
impl Unpin for Access
impl UnwindSafe for Access
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)