Enum elrond::Fault
[−]
[src]
pub enum Fault { IllegalMagicNumber, IllegalEndianness, IllegalClass, Bits32ParserFailed, TooSmol, Complex, HeaderDoesntExist, Bits64ParserFailed, StrTabNotInElf, NameNotInStrTab, SymTabNotInElf, SymTabTooSmol, }
Errors in the parser
Variants
IllegalMagicNumber
IllegalEndianness
IllegalClass
Bits32ParserFailed
Attempted to read 32bit data with 64bit parser
TooSmol
Underlying buffer couldn't hold data
Complex
Internal parser error, generally missed test case
HeaderDoesntExist
Bits64ParserFailed
Attempted to read 32bit data with 64bit parser
StrTabNotInElf
NameNotInStrTab
SymTabNotInElf
SymTabTooSmol
Trait Implementations
impl Debug for Fault
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Fault
[src]
fn clone(&self) -> Fault
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more