Enum solana_rbpf::error::EbpfError [−][src]
Error definitions
Variants
User defined error
ElfError(ElfError)
ELF error
SycallAlreadyRegistered(usize)
Syscall was already registered before
SyscallNotRegistered(usize)
Syscall was not registered before bind
SyscallAlreadyBound(usize)
Syscall already has a bound context object
Exceeded max BPF to BPF call depth
Attempt to exit from root call frame
DivideByZero(usize)
Divide by zero“
ExecutionOverrun(usize)
Exceeded max instructions allowed
Attempt to call to an address outside the text segment
Exceeded max instructions allowed
Program has not been JIT-compiled
InvalidVirtualAddress(u64)
Invalid virtual address
VirtualAddressOverlap(u64)
Virtual address overlap
AccessViolation(usize, AccessType, u64, u64, &'static str)
Access violation (general)
StackAccessViolation(usize, AccessType, u64, u64, i64)
Access violation (stack specific)
InvalidInstruction(usize)
Invalid instruction
UnsupportedInstruction(usize)
Unsupported instruction
ExhausedTextSegment(usize)
Compilation is too big to fit
Trait Implementations
impl<E: Debug + UserDefinedError> Debug for EbpfError<E>
[src]
impl<E: UserDefinedError> Display for EbpfError<E>
[src]
impl<E: Eq + UserDefinedError> Eq for EbpfError<E>
[src]
impl<E: UserDefinedError> Error for EbpfError<E>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<E: UserDefinedError> From<E> for EbpfError<E>
[src]
impl<E: UserDefinedError> From<ElfError> for EbpfError<E>
[src]
impl<E: UserDefinedError> From<Error> for EbpfError<E>
[src]
fn from(error: GoblinError) -> Self
[src]
impl<E: PartialEq + UserDefinedError> PartialEq<EbpfError<E>> for EbpfError<E>
[src]
impl<E: UserDefinedError> StructuralEq for EbpfError<E>
[src]
impl<E: UserDefinedError> StructuralPartialEq for EbpfError<E>
[src]
Auto Trait Implementations
impl<E> RefUnwindSafe for EbpfError<E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
impl<E> Send for EbpfError<E> where
E: Send,
E: Send,
impl<E> Sync for EbpfError<E> where
E: Sync,
E: Sync,
impl<E> Unpin for EbpfError<E> where
E: Unpin,
E: Unpin,
impl<E> UnwindSafe for EbpfError<E> where
E: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[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]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,