pub enum OperationType {
Show 16 variants
LoadImmediate,
LoadMemory,
StoreImmediate,
StoreRegister,
BinaryImmediate,
BinaryRegister,
Unary,
Endian,
Jump,
JumpImmediate,
JumpRegister,
Jump32Immediate,
Jump32Register,
CallImmediate,
CallRegister,
Exit,
}Variants§
LoadImmediate
LoadMemory
StoreImmediate
StoreRegister
BinaryImmediate
BinaryRegister
Unary
Endian
Jump
JumpImmediate
JumpRegister
Jump32Immediate
Jump32Register
CallImmediate
CallRegister
Exit
Trait Implementations§
Source§impl Clone for OperationType
impl Clone for OperationType
impl Copy for OperationType
Source§impl Debug for OperationType
impl Debug for OperationType
impl Eq for OperationType
Source§impl HandlerTypes for OperationType
impl HandlerTypes for OperationType
type DecodeFn = fn(&[u8]) -> Result<Instruction, SBPFError>
type ValidateFn = fn(&Instruction) -> Result<(), SBPFError>
type ExecuteFn = fn(&mut dyn Vm, &Instruction) -> Result<(), ExecutionError>
Source§impl Hash for OperationType
impl Hash for OperationType
Source§impl OpcodeGroup for OperationType
impl OpcodeGroup for OperationType
Source§impl PartialEq for OperationType
impl PartialEq for OperationType
impl StructuralPartialEq for OperationType
Auto Trait Implementations§
impl Freeze for OperationType
impl RefUnwindSafe for OperationType
impl Send for OperationType
impl Sync for OperationType
impl Unpin for OperationType
impl UnsafeUnpin for OperationType
impl UnwindSafe for OperationType
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