pub enum SubstrateError {
}Variants§
MemoryProtection(String)
MemoryMap(String)
InvalidSymbol
SymbolNotFound(String)
LibraryNotFound(String)
ElfParsing(String)
InvalidInstruction(usize)
DisassemblyFailed
HookFailed(String)
InsufficientSpace
Io(Error)
NullPointer
FileNotFound(String)
ParseError(String)
Trait Implementations§
Source§impl Debug for SubstrateError
impl Debug for SubstrateError
Source§impl Display for SubstrateError
impl Display for SubstrateError
Source§impl Error for SubstrateError
impl Error for SubstrateError
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()
Auto Trait Implementations§
impl Freeze for SubstrateError
impl !RefUnwindSafe for SubstrateError
impl Send for SubstrateError
impl Sync for SubstrateError
impl Unpin for SubstrateError
impl !UnwindSafe for SubstrateError
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