Enum solana_rbpf::verifier::VerifierError
source · [−]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(u64, u64, usize),
InvalidRegister(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
Trait Implementations
sourceimpl Debug for VerifierError
impl Debug for VerifierError
sourceimpl Display for VerifierError
impl Display for VerifierError
sourceimpl Error for VerifierError
impl Error for VerifierError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl<E: UserDefinedError> From<VerifierError> for EbpfError<E>
impl<E: UserDefinedError> From<VerifierError> for EbpfError<E>
sourcefn from(source: VerifierError) -> Self
fn from(source: VerifierError) -> Self
Performs the conversion.
sourceimpl PartialEq<VerifierError> for VerifierError
impl PartialEq<VerifierError> for VerifierError
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &VerifierError) -> bool
fn ne(&self, other: &VerifierError) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more