Enum solana_rbpf::verifier::VerifierError
source · pub enum VerifierError {
Show 17 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(u64, u64, usize),
InvalidRegister(usize),
InvalidFunction(usize),
}
Expand description
Error definitions
Variants§
ProgramLengthNotMultiple
ProgramLengthNotMultiple
ProgramTooLarge(usize)
Deprecated
NoProgram
NoProgram
DivisionByZero(usize)
Division by zero
UnsupportedLEBEArgument(usize)
UnsupportedLEBEArgument
LDDWCannotBeLast
LDDWCannotBeLast
IncompleteLDDW(usize)
IncompleteLDDW
InfiniteLoop(usize)
InfiniteLoop
JumpOutOfCode(usize, usize)
JumpOutOfCode
JumpToMiddleOfLDDW(usize, usize)
JumpToMiddleOfLDDW
InvalidSourceRegister(usize)
InvalidSourceRegister
CannotWriteR10(usize)
CannotWriteR10
InvalidDestinationRegister(usize)
InvalidDestinationRegister
UnknownOpCode(u8, usize)
UnknownOpCode
ShiftWithOverflow(u64, u64, usize)
Shift with overflow
InvalidRegister(usize)
Invalid register specified
InvalidFunction(usize)
Invalid function
Trait Implementations§
source§impl Debug for VerifierError
impl Debug for VerifierError
source§impl Display for VerifierError
impl Display for VerifierError
source§impl Error for VerifierError
impl Error for VerifierError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<VerifierError> for EbpfError
impl From<VerifierError> for EbpfError
source§fn from(source: VerifierError) -> Self
fn from(source: VerifierError) -> Self
Converts to this type from the input type.
source§impl PartialEq for VerifierError
impl PartialEq for VerifierError
source§fn eq(&self, other: &VerifierError) -> bool
fn eq(&self, other: &VerifierError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for VerifierError
impl StructuralEq for VerifierError
impl StructuralPartialEq for VerifierError
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§
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