Struct data_encoding::DecodePartial
source · pub struct DecodePartial {
pub read: usize,
pub written: usize,
pub error: DecodeError,
}Expand description
Decoding error with partial result
Fields§
§read: usizeNumber of bytes read from input
This number does not exceed the error position: read <= error.position.
written: usizeNumber of bytes written to output
This number does not exceed the decoded length: written <= decode_len(read).
error: DecodeErrorDecoding error
Trait Implementations§
source§impl Clone for DecodePartial
impl Clone for DecodePartial
source§fn clone(&self) -> DecodePartial
fn clone(&self) -> DecodePartial
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more