Enum solana_rbpf::user_error::UserError
source · [−]pub enum UserError {
VerifierError(VerifierError),
}
Expand description
User defined error
Variants
VerifierError(VerifierError)
Verifier error
Trait Implementations
sourceimpl Error for UserError
impl Error for UserError
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 SyscallObject<UserError> for BpfTimeGetNs
impl SyscallObject<UserError> for BpfTimeGetNs
sourceimpl SyscallObject<UserError> for BpfTracePrintf
impl SyscallObject<UserError> for BpfTracePrintf
sourceimpl SyscallObject<UserError> for BpfGatherBytes
impl SyscallObject<UserError> for BpfGatherBytes
sourceimpl SyscallObject<UserError> for BpfMemFrob
impl SyscallObject<UserError> for BpfMemFrob
sourceimpl SyscallObject<UserError> for BpfSqrtI
impl SyscallObject<UserError> for BpfSqrtI
sourceimpl SyscallObject<UserError> for BpfStrCmp
impl SyscallObject<UserError> for BpfStrCmp
sourceimpl SyscallObject<UserError> for BpfRand
impl SyscallObject<UserError> for BpfRand
sourceimpl SyscallObject<UserError> for BpfSyscallString
impl SyscallObject<UserError> for BpfSyscallString
sourceimpl SyscallObject<UserError> for BpfSyscallU64
impl SyscallObject<UserError> for BpfSyscallU64
sourceimpl SyscallObject<UserError> for SyscallWithContext
impl SyscallObject<UserError> for SyscallWithContext
impl Eq for UserError
impl StructuralEq for UserError
impl StructuralPartialEq for UserError
impl UserDefinedError for UserError
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
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