#[repr(u8)]pub enum Compute {
Compute = 144,
ComputeEnd = 145,
}
Expand description
Operations related to VM compute execution.
Variants§
Compute = 144
0x90
Opcode associated with the Compute::Compute operation.
ComputeEnd = 145
0x91
Opcode associated with the Compute::ComputeEnd operation.
Trait Implementations§
Source§impl Ord for Compute
impl Ord for Compute
Source§impl ParseOp for Compute
impl ParseOp for Compute
Source§fn parse_op(
&self,
bytes: &mut impl Iterator<Item = u8>,
) -> Result<<Compute as ParseOp>::Op, <Compute as ParseOp>::Error>
fn parse_op( &self, bytes: &mut impl Iterator<Item = u8>, ) -> Result<<Compute as ParseOp>::Op, <Compute as ParseOp>::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 Compute
impl PartialOrd for Compute
impl Copy for Compute
impl Eq for Compute
impl StructuralPartialEq for Compute
Auto Trait Implementations§
impl Freeze for Compute
impl RefUnwindSafe for Compute
impl Send for Compute
impl Sync for Compute
impl Unpin for Compute
impl UnwindSafe for Compute
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more