Struct data_encoding::DecodePartial [−][src]
pub struct DecodePartial {
pub read: usize,
pub written: usize,
pub error: DecodeError,
}
Expand description
Decoding error with partial result
Fields
read: usize
Number of bytes read from input
This number does not exceed the error position: read <= error.position
.
written: usize
Number of bytes written to output
This number does not exceed the decoded length: written <= decode_len(read)
.
error: DecodeError
Decoding error
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DecodePartial
impl Send for DecodePartial
impl Sync for DecodePartial
impl Unpin for DecodePartial
impl UnwindSafe for DecodePartial
Blanket Implementations
Mutably borrows from an owned value. Read more