Enum varu64::DecodeError [−][src]
pub enum DecodeError { NonCanonical(u64), UnexpectedEndOfInput, }
Expand description
Everything that can go wrong when decoding a varu64.
Variants
NonCanonical(u64)
The encoding is not the shortest possible one for the number. Contains the encoded number.
The slice contains less data than the encoding needs.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DecodeError
impl Send for DecodeError
impl Sync for DecodeError
impl Unpin for DecodeError
impl UnwindSafe for DecodeError
Blanket Implementations
Mutably borrows from an owned value. Read more