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: usizeNoProgram
Tuple Fields of DivisionByZero
0: usizeUnsupportedLEBEArgument
Tuple Fields of UnsupportedLEBEArgument
0: usizeLDDWCannotBeLast
IncompleteLDDW
Tuple Fields of IncompleteLDDW
0: usizeInfiniteLoop
Tuple Fields of InfiniteLoop
0: usizeJumpOutOfCode
JumpToMiddleOfLDDW
InvalidSourceRegister
Tuple Fields of InvalidSourceRegister
0: usizeCannotWriteR10
Tuple Fields of CannotWriteR10
0: usizeInvalidDestinationRegister
Tuple Fields of InvalidDestinationRegister
0: usizeUnknownOpCode
Shift with overflow
Tuple Fields of ShiftWithOverflow
0: usizeInvalid register specified
Tuple Fields of InvalidRegister
0: usizeTrait 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