pub enum Error<E>where
E: Debug,{
NotAnElfFile,
WrongElfFile,
Source(E),
NotEnoughSpace,
InvalidString,
}
Expand description
The ways this API can fail
Variants§
NotAnElfFile
The ELF file didn’t look right
WrongElfFile
It was an ELF file, but not what Neotron can handle
Source(E)
There was a problem with the data source.
NotEnoughSpace
Couldn’t fit string into given buffer
InvalidString
Section name wasn’t UTF-8
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for Error<E>where
E: Freeze,
impl<E> RefUnwindSafe for Error<E>where
E: RefUnwindSafe,
impl<E> Send for Error<E>where
E: Send,
impl<E> Sync for Error<E>where
E: Sync,
impl<E> Unpin for Error<E>where
E: Unpin,
impl<E> UnwindSafe for Error<E>where
E: UnwindSafe,
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