#[repr(u8)]pub enum Temporary {
Alloc = 112,
Free = 113,
Load = 114,
Store = 115,
LoadRange = 116,
StoreRange = 117,
}
Expand description
Operations for temporary memory.
Variants§
Alloc = 112
0x70
Opcode associated with the Temporary::Alloc operation.
Free = 113
0x71
Opcode associated with the Temporary::Free operation.
Load = 114
0x72
Opcode associated with the Temporary::Load operation.
Store = 115
0x73
Opcode associated with the Temporary::Store operation.
LoadRange = 116
0x74
Opcode associated with the Temporary::LoadRange operation.
StoreRange = 117
0x75
Opcode associated with the Temporary::StoreRange operation.
Trait Implementations§
Source§impl From<Temporary> for Constraint
impl From<Temporary> for Constraint
Source§impl Ord for Temporary
impl Ord for Temporary
Source§impl ParseOp for Temporary
impl ParseOp for Temporary
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
Any error that might occur while parsing.
Source§impl PartialOrd for Temporary
impl PartialOrd for Temporary
impl Copy for Temporary
impl Eq for Temporary
impl StructuralPartialEq for Temporary
Auto Trait Implementations§
impl Freeze for Temporary
impl RefUnwindSafe for Temporary
impl Send for Temporary
impl Sync for Temporary
impl Unpin for Temporary
impl UnwindSafe for Temporary
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