Enum solana_bpf_loader_program::bpf_verifier::VerifierError [−][src]
pub enum VerifierError {}Show 16 variants
ProgramLengthNotMultiple, ProgramTooLarge(usize), NoProgram, DivisionByZero(usize), UnsupportedLEBEArgument(usize), LDDWCannotBeLast, IncompleteLDDW(usize), InfiniteLoop(usize), JumpOutOfCode(usize, usize), JumpToMiddleOfLDDW(usize, usize), InvalidSourceRegister(usize), CannotWriteR10(usize), InvalidDestinationRegister(usize), UnknownOpCode(u8, usize), ShiftWithOverflow(usize), InvalidRegister(usize),
Expand description
Error definitions
Variants
ProgramLengthNotMultiple
ProgramTooLarge
Tuple Fields of ProgramTooLarge
0: usize
NoProgram
Tuple Fields of DivisionByZero
0: usize
UnsupportedLEBEArgument
Tuple Fields of UnsupportedLEBEArgument
0: usize
LDDWCannotBeLast
IncompleteLDDW
Tuple Fields of IncompleteLDDW
0: usize
InfiniteLoop
Tuple Fields of InfiniteLoop
0: usize
JumpOutOfCode
JumpToMiddleOfLDDW
InvalidSourceRegister
Tuple Fields of InvalidSourceRegister
0: usize
CannotWriteR10
Tuple Fields of CannotWriteR10
0: usize
InvalidDestinationRegister
Tuple Fields of InvalidDestinationRegister
0: usize
UnknownOpCode
Shift with overflow
Tuple Fields of ShiftWithOverflow
0: usize
Invalid register specified
Tuple Fields of InvalidRegister
0: usize
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for VerifierError
impl Send for VerifierError
impl Sync for VerifierError
impl Unpin for VerifierError
impl UnwindSafe for VerifierError
Blanket Implementations
pub default fn example() -> T
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self