Enum lebicon::Error [−][src]
pub enum Error { IoError(Error), Overflow, }
The errors possibly returned when reading a LEB128-encoded integer.
Variants
IoError(Error)
A propagated error from the std::io::Read
implementation.
Overflow
The LEB128-encoded integer is too large to fit in this integer type.
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Error> for Error
[src]
impl From<Error> for Error
impl Decoder<Leb128, Error> for isize
[src]
impl Decoder<Leb128, Error> for isize
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
[src]
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
Decodes from the reader with the given parameters.
impl Decoder<Leb128, Error> for usize
[src]
impl Decoder<Leb128, Error> for usize
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
[src]
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
Decodes from the reader with the given parameters.
impl Decoder<Leb128, Error> for i128
[src]
impl Decoder<Leb128, Error> for i128
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
[src]
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
Decodes from the reader with the given parameters.
impl Decoder<Leb128, Error> for u128
[src]
impl Decoder<Leb128, Error> for u128
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
[src]
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
Decodes from the reader with the given parameters.
impl Decoder<Leb128, Error> for i64
[src]
impl Decoder<Leb128, Error> for i64
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
[src]
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
Decodes from the reader with the given parameters.
impl Decoder<Leb128, Error> for u64
[src]
impl Decoder<Leb128, Error> for u64
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
[src]
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
Decodes from the reader with the given parameters.
impl Decoder<Leb128, Error> for i32
[src]
impl Decoder<Leb128, Error> for i32
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
[src]
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
Decodes from the reader with the given parameters.
impl Decoder<Leb128, Error> for u32
[src]
impl Decoder<Leb128, Error> for u32
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
[src]
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
Decodes from the reader with the given parameters.
impl Decoder<Leb128, Error> for i16
[src]
impl Decoder<Leb128, Error> for i16
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
[src]
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
Decodes from the reader with the given parameters.
impl Decoder<Leb128, Error> for u16
[src]
impl Decoder<Leb128, Error> for u16
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
[src]
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
Decodes from the reader with the given parameters.
impl Decoder<Leb128, Error> for i8
[src]
impl Decoder<Leb128, Error> for i8
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
[src]
fn decode<R: Read>(reader: &mut R, _: Leb128) -> Result<Self, Error>
Decodes from the reader with the given parameters.
impl Decoder<Leb128, Error> for u8
[src]
impl Decoder<Leb128, Error> for u8