Struct data_encoding::DecodePartial
[−]
[src]
pub struct DecodePartial { pub read: usize, pub written: usize, pub error: DecodeError, }
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
impl Debug for DecodePartial
[src]
impl Copy for DecodePartial
[src]
impl Clone for DecodePartial
[src]
fn clone(&self) -> DecodePartial
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for DecodePartial
[src]
fn eq(&self, __arg_0: &DecodePartial) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DecodePartial) -> bool
This method tests for !=
.