Struct encoding::types::CodecError [−][src]
Error information from either encoder or decoder.
Fields
upto: isize
The byte position of the first remaining byte, with respect to the current input.
For the finish
call, this should be no more than zero (since there is no input).
It can be negative if the remaining byte is in the prior inputs,
as long as the remaining byte is not yet processed.
The caller should feed the bytes starting from this point again
in order to continue encoding or decoding after an error.
cause: Cow<'static, str>
A human-readable cause of the error.
Auto Trait Implementations
impl Send for CodecError
impl Send for CodecError
impl Sync for CodecError
impl Sync for CodecError