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
ProgramLengthNotMultiple
ProgramTooLarge(usize)
Tuple Fields
0: usize
ProgramTooLarge
NoProgram
NoProgram
DivisionByZero(usize)
Tuple Fields
0: usize
UnsupportedLEBEArgument(usize)
Tuple Fields
0: usize
UnsupportedLEBEArgument
LDDWCannotBeLast
LDDWCannotBeLast
IncompleteLDDW(usize)
Tuple Fields
0: usize
IncompleteLDDW
InfiniteLoop(usize)
Tuple Fields
0: usize
InfiniteLoop
JumpOutOfCode(usize, usize)
JumpOutOfCode
JumpToMiddleOfLDDW(usize, usize)
JumpToMiddleOfLDDW
InvalidSourceRegister(usize)
Tuple Fields
0: usize
InvalidSourceRegister
CannotWriteR10(usize)
Tuple Fields
0: usize
CannotWriteR10
InvalidDestinationRegister(usize)
Tuple Fields
0: usize
InvalidDestinationRegister
UnknownOpCode(u8, usize)
UnknownOpCode
ShiftWithOverflow(usize)
Tuple Fields
0: usize
Shift with overflow
InvalidRegister(usize)
Tuple Fields
0: usize
Invalid register specified
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
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more