[][src]Enum solana_rbpf::ebpf::EbpfError

pub enum EbpfError<E: UserDefinedError> {
    UserError(E),
    ELFError(ELFError),
    JITError(JITError),
    NothingToExecute,
    CallDepthExceeded(usize),
    ExitRootCallFrame,
    DivideByZero,
    ExecutionOverrun(usize),
    CallOutsideTextSegment(usizeu64),
    UnresolvedSymbol(usize),
    ExceededMaxInstructions(u64),
    ReadOnlyDataUnsupported,
    JITNotCompiled,
    InvalidVirtualAddress(u64),
    AccessViolation(Stringusizeu64usizeString),
}

Error definitions

Variants

UserError(E)

User defined error

ELFError(ELFError)

ELF error

JITError(JITError)

JIT error

NothingToExecute

No program or ELF set

CallDepthExceeded(usize)

Exceeded max BPF to BPF call depth

ExitRootCallFrame

Attempt to exit from root call frame

DivideByZero

Divide by zero"

ExecutionOverrun(usize)

Exceeded max instructions allowed

CallOutsideTextSegment(usizeu64)

Attempt to call to an address outside the text segment

UnresolvedSymbol(usize)

Unresolved symbol

ExceededMaxInstructions(u64)

Exceeded max instructions allowed

ReadOnlyDataUnsupported

JIT does not support read only data

JITNotCompiled

Program has not been JIT-compiled

InvalidVirtualAddress(u64)

Invalid virtual address

AccessViolation(Stringusizeu64usizeString)

Access violation

Trait Implementations

impl<E: Debug + UserDefinedError> Debug for EbpfError<E>[src]

impl<E: UserDefinedError> Display for EbpfError<E>[src]

impl<E: UserDefinedError> Error for EbpfError<E>[src]

impl<E: UserDefinedError> From<E> for EbpfError<E>[src]

impl<E: UserDefinedError> From<ELFError> for EbpfError<E>[src]

Auto Trait Implementations

impl<E> !RefUnwindSafe for EbpfError<E>

impl<E> Send for EbpfError<E> where
    E: Send

impl<E> Sync for EbpfError<E> where
    E: Sync

impl<E> Unpin for EbpfError<E> where
    E: Unpin

impl<E> !UnwindSafe for EbpfError<E>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<!> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.