Enum pascal_string::AsciiError [] [src]

pub enum AsciiError {
    Char(ToAsciiCharError),
    Str(AsAsciiStrError),
}

An error type which abstracts over ascii conversion errors.

Variants

A character was not encoded as ascii.

A string was not encoded as ascii.

Trait Implementations

impl Debug for AsciiError
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Formats the value using the given formatter. Read more

impl Error for AsciiError
[src]

[src]

A short description of the error. Read more

[src]

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

impl From<ToAsciiCharError> for AsciiError
[src]

[src]

Performs the conversion.

impl From<AsAsciiStrError> for AsciiError
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for AsciiError

impl Sync for AsciiError