pub enum BpfError {
VerifierError(VerifierError),
SyscallError(SyscallError),
}
Expand description
Errors returned by functions the BPF Loader registers with the VM
Variants§
VerifierError(VerifierError)
SyscallError(SyscallError)
Trait Implementations§
source§impl Error for BpfError
impl Error for BpfError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<SyscallError> for BpfError
impl From<SyscallError> for BpfError
source§fn from(source: SyscallError) -> Self
fn from(source: SyscallError) -> Self
Converts to this type from the input type.
source§impl From<VerifierError> for BpfError
impl From<VerifierError> for BpfError
source§fn from(source: VerifierError) -> Self
fn from(source: VerifierError) -> Self
Converts to this type from the input type.
source§impl PartialEq<BpfError> for BpfError
impl PartialEq<BpfError> for BpfError
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallAbort<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallAbort<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallAllocFree<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallAllocFree<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallBlake3<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallBlake3<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallCreateProgramAddress<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallCreateProgramAddress<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallCurveGroupOps<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallCurveGroupOps<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallCurvePointValidation<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallCurvePointValidation<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallGetClockSysvar<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallGetClockSysvar<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallGetEpochScheduleSysvar<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallGetEpochScheduleSysvar<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallGetFeesSysvar<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallGetFeesSysvar<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallGetProcessedSiblingInstruction<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallGetProcessedSiblingInstruction<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallGetRentSysvar<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallGetRentSysvar<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallGetReturnData<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallGetReturnData<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallGetStackHeight<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallGetStackHeight<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallInvokeSignedC<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallInvokeSignedC<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallInvokeSignedRust<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallInvokeSignedRust<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallKeccak256<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallKeccak256<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallLog<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallLog<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallLogBpfComputeUnits<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallLogBpfComputeUnits<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallLogData<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallLogData<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallLogPubkey<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallLogPubkey<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallLogU64<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallLogU64<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallMemcmp<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallMemcmp<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallMemcpy<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallMemcpy<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallMemmove<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallMemmove<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallMemset<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallMemset<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallPanic<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallPanic<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallSecp256k1Recover<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallSecp256k1Recover<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallSetReturnData<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallSetReturnData<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallSha256<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallSha256<'a, 'b>
source§impl<'a, 'b> SyscallObject<BpfError> for SyscallTryFindProgramAddress<'a, 'b>
impl<'a, 'b> SyscallObject<BpfError> for SyscallTryFindProgramAddress<'a, 'b>
impl Eq for BpfError
impl StructuralEq for BpfError
impl StructuralPartialEq for BpfError
impl UserDefinedError for BpfError
Auto Trait Implementations§
impl RefUnwindSafe for BpfError
impl Send for BpfError
impl Sync for BpfError
impl Unpin for BpfError
impl UnwindSafe for BpfError
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.