pub enum DebuggerError {
Io(Error),
Elf(Error),
Dwarf(Error),
Disassembler(DisassemblerError),
Vm(SbpfVmError),
Assembler(String),
DeserializeError(String),
InvalidInput(String),
}Variants§
Io(Error)
Elf(Error)
Dwarf(Error)
Disassembler(DisassemblerError)
Vm(SbpfVmError)
Assembler(String)
DeserializeError(String)
InvalidInput(String)
Trait Implementations§
Source§impl Debug for DebuggerError
impl Debug for DebuggerError
Source§impl Display for DebuggerError
impl Display for DebuggerError
Source§impl Error for DebuggerError
impl Error for DebuggerError
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<DisassemblerError> for DebuggerError
impl From<DisassemblerError> for DebuggerError
Source§fn from(source: DisassemblerError) -> Self
fn from(source: DisassemblerError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for DebuggerError
impl From<Error> for DebuggerError
Source§impl From<Error> for DebuggerError
impl From<Error> for DebuggerError
Source§impl From<Error> for DebuggerError
impl From<Error> for DebuggerError
Source§impl From<SbpfVmError> for DebuggerError
impl From<SbpfVmError> for DebuggerError
Source§fn from(source: SbpfVmError) -> Self
fn from(source: SbpfVmError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DebuggerError
impl !RefUnwindSafe for DebuggerError
impl Send for DebuggerError
impl Sync for DebuggerError
impl Unpin for DebuggerError
impl UnsafeUnpin for DebuggerError
impl !UnwindSafe for DebuggerError
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
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