pub enum DexParserError {
EndedEarly {
needed: usize,
},
ParsingFailed {
reason: String,
},
EncodingError,
}Variants§
Trait Implementations§
Source§impl Clone for DexParserError
impl Clone for DexParserError
Source§fn clone(&self) -> DexParserError
fn clone(&self) -> DexParserError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DexParserError
impl Debug for DexParserError
Source§impl Display for DexParserError
impl Display for DexParserError
Source§impl Fail for DexParserError
impl Fail for DexParserError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl From<&'static str> for DexParserError
impl From<&'static str> for DexParserError
Source§impl From<DexParserError> for Err<&[u8]>
impl From<DexParserError> for Err<&[u8]>
Source§fn from(e: DexParserError) -> Self
fn from(e: DexParserError) -> Self
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for DexParserError
impl From<FromUtf8Error> for DexParserError
Source§fn from(_e: FromUtf8Error) -> Self
fn from(_e: FromUtf8Error) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DexParserError
impl RefUnwindSafe for DexParserError
impl Send for DexParserError
impl Sync for DexParserError
impl Unpin for DexParserError
impl UnwindSafe for DexParserError
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