#[repr(u8)]pub enum Access {
ThisAddress = 48,
ThisContractAddress = 49,
MutKeys = 52,
RepeatCounter = 56,
PredicateData = 58,
PredicateDataLen = 59,
PredicateDataSlots = 60,
PredicateExists = 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.
MutKeys = 52
0x34
Opcode associated with the Access::MutKeys operation.
RepeatCounter = 56
0x38
Opcode associated with the Access::RepeatCounter operation.
PredicateData = 58
0x3A
Opcode associated with the Access::PredicateData operation.
PredicateDataLen = 59
0x3B
Opcode associated with the Access::PredicateDataLen operation.
PredicateDataSlots = 60
0x3C
Opcode associated with the Access::PredicateDataSlots operation.
PredicateExists = 61
0x3D
Opcode associated with the Access::PredicateExists operation.
Trait Implementations§
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.