Enum solana_rbpf::user_error::UserError [−][src]
User defined error
Variants
VerifierError(VerifierError)Verifier error
Trait Implementations
impl Debug for UserError[src]
impl Display for UserError[src]
impl Eq for UserError[src]
impl Error for UserError[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>[src]
pub fn description(&self) -> &str1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>1.0.0[src]
impl From<VerifierError> for UserError[src]
fn from(error: VerifierError) -> Self[src]
impl PartialEq<UserError> for UserError[src]
impl StructuralEq for UserError[src]
impl StructuralPartialEq for UserError[src]
impl SyscallObject<UserError> for BpfTimeGetNs[src]
fn call(
&mut self,
_arg1: u64,
_arg2: u64,
_arg3: u64,
_arg4: u64,
_arg5: u64,
_memory_mapping: &MemoryMapping<'_>,
result: &mut Result
)[src]
&mut self,
_arg1: u64,
_arg2: u64,
_arg3: u64,
_arg4: u64,
_arg5: u64,
_memory_mapping: &MemoryMapping<'_>,
result: &mut Result
)
impl SyscallObject<UserError> for BpfTracePrintf[src]
fn call(
&mut self,
_arg1: u64,
_arg2: u64,
arg3: u64,
arg4: u64,
arg5: u64,
_memory_mapping: &MemoryMapping<'_>,
result: &mut Result
)[src]
&mut self,
_arg1: u64,
_arg2: u64,
arg3: u64,
arg4: u64,
arg5: u64,
_memory_mapping: &MemoryMapping<'_>,
result: &mut Result
)
impl SyscallObject<UserError> for BpfGatherBytes[src]
fn call(
&mut self,
arg1: u64,
arg2: u64,
arg3: u64,
arg4: u64,
arg5: u64,
_memory_mapping: &MemoryMapping<'_>,
result: &mut Result
)[src]
&mut self,
arg1: u64,
arg2: u64,
arg3: u64,
arg4: u64,
arg5: u64,
_memory_mapping: &MemoryMapping<'_>,
result: &mut Result
)
impl SyscallObject<UserError> for BpfMemFrob[src]
fn call(
&mut self,
vm_addr: u64,
len: u64,
_arg3: u64,
_arg4: u64,
_arg5: u64,
memory_mapping: &MemoryMapping<'_>,
result: &mut Result
)[src]
&mut self,
vm_addr: u64,
len: u64,
_arg3: u64,
_arg4: u64,
_arg5: u64,
memory_mapping: &MemoryMapping<'_>,
result: &mut Result
)
impl SyscallObject<UserError> for BpfSqrtI[src]
fn call(
&mut self,
arg1: u64,
_arg2: u64,
_arg3: u64,
_arg4: u64,
_arg5: u64,
_memory_mapping: &MemoryMapping<'_>,
result: &mut Result
)[src]
&mut self,
arg1: u64,
_arg2: u64,
_arg3: u64,
_arg4: u64,
_arg5: u64,
_memory_mapping: &MemoryMapping<'_>,
result: &mut Result
)
impl SyscallObject<UserError> for BpfStrCmp[src]
fn call(
&mut self,
arg1: u64,
arg2: u64,
_arg3: u64,
_arg4: u64,
_arg5: u64,
memory_mapping: &MemoryMapping<'_>,
result: &mut Result
)[src]
&mut self,
arg1: u64,
arg2: u64,
_arg3: u64,
_arg4: u64,
_arg5: u64,
memory_mapping: &MemoryMapping<'_>,
result: &mut Result
)
impl SyscallObject<UserError> for BpfRand[src]
fn call(
&mut self,
min: u64,
max: u64,
_arg3: u64,
_arg4: u64,
_arg5: u64,
_memory_mapping: &MemoryMapping<'_>,
result: &mut Result
)[src]
&mut self,
min: u64,
max: u64,
_arg3: u64,
_arg4: u64,
_arg5: u64,
_memory_mapping: &MemoryMapping<'_>,
result: &mut Result
)
impl UserDefinedError for UserError[src]
Auto Trait Implementations
impl RefUnwindSafe for UserError
impl Send for UserError
impl Sync for UserError
impl Unpin for UserError
impl UnwindSafe for UserError
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<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>,