Enum base65536::Error [] [src]

pub enum Error {
    InvalidCodePoint(usizechar),
    InvalidLength,
}

Represents an error while decoding.

Used with decode and decode_buf. See them for examples.

Variants

A code point not valid in base65536 was found in the input stream. Consider using the ignore_garbage option.

Contains the offset from the beginning of the stream at which the invalid code point was found, and the actual code point.

The base65536 stream continued after a terminating padding byte.

Trait Implementations

impl Clone for Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Error
[src]

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Eq for Error
[src]

impl Hash for Error
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Error
[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 Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more