[−][src]Enum wasabi_leb128::ParseLeb128Error
Errors while parsing an LEB128 value from an io::Read
reader.
Variants
The input LEB128 value is larger than can be represented in the target type, because the
input had too many bytes (i.e., more bytes than max_bytes::<T>()
).
The input LEB128 value is larger than can be represented in the target type, because the last byte of the LEB128 sequence contains invalid extra bits.
UnexpectedEndOfData(Error)
The input ended before a full LEB128 value could be parsed.
The unnamed argument is the underlying io::Error
.
Other(Error)
Any other io::Error
during reading that is not specific to parsing LEB128 values.
Trait Implementations
impl Debug for ParseLeb128Error
[src]
impl Display for ParseLeb128Error
[src]
impl Error for ParseLeb128Error
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Error> for ParseLeb128Error
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ParseLeb128Error
impl Send for ParseLeb128Error
impl Sync for ParseLeb128Error
impl Unpin for ParseLeb128Error
impl !UnwindSafe for ParseLeb128Error
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,