Enum nibble::base::ParseNibbleError [] [src]

pub enum ParseNibbleError {
    Empty,
    TooLarge,
    BadFormat,
}

An error that occurs when parsing a nibble.

Variants

Given string was empty.

Given number was larger than a nibble, or larger than the slice could hold.

Given string was not a valid number.

Methods

impl ParseNibbleError
[src]

[src]

User-friendly description of the error.

Trait Implementations

impl Clone for ParseNibbleError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ParseNibbleError
[src]

impl Debug for ParseNibbleError
[src]

[src]

Formats the value using the given formatter.

impl Eq for ParseNibbleError
[src]

impl Hash for ParseNibbleError
[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 ParseNibbleError
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Display for ParseNibbleError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for ParseNibbleError
[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