pub enum EbpfError {
ProgramVerifyError(VerifierError),
ProgramLinkError(String),
InvalidCbpfInstruction(u16),
InvalidCbpfScratchOffset(u32),
InvalidCbpfJumpOffset(u32),
}Variants§
ProgramVerifyError(VerifierError)
ProgramLinkError(String)
InvalidCbpfInstruction(u16)
InvalidCbpfScratchOffset(u32)
InvalidCbpfJumpOffset(u32)
Trait Implementations§
impl Eq for EbpfError
Source§impl Error for EbpfError
impl Error for EbpfError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<VerifierError> for EbpfError
impl From<VerifierError> for EbpfError
Source§fn from(source: VerifierError) -> Self
fn from(source: VerifierError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for EbpfError
Auto Trait Implementations§
impl Freeze for EbpfError
impl RefUnwindSafe for EbpfError
impl Send for EbpfError
impl Sync for EbpfError
impl Unpin for EbpfError
impl UnsafeUnpin for EbpfError
impl UnwindSafe for EbpfError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more