Struct data_encoding::DecodePartial [] [src]

pub struct DecodePartial {
    pub read: usize,
    pub written: usize,
    pub error: DecodeError,
}

Decoding error with partial result

Fields

Number of bytes read from input

This number does not exceed the error position: read <= error.position.

Number of bytes written to output

This number does not exceed the decoded length: written <= decode_len(read).

Decoding error

Trait Implementations

impl Debug for DecodePartial
[src]

[src]

Formats the value using the given formatter.

impl Copy for DecodePartial
[src]

impl Clone for DecodePartial
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for DecodePartial
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for DecodePartial
[src]