Enum pascal_string::PascalStringCreateError [] [src]

pub enum PascalStringCreateError {
    InputTooLong,
    NotValidAscii(AsciiError),
}

Indicates the range of errors which can occur from creating a new PascalString.

Variants

The data provided to the constructor was larger than the PascalString could store.

The data provided was not correctly encoded as ascii.

Trait Implementations

impl Debug for PascalStringCreateError
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Formats the value using the given formatter. Read more

impl Error for PascalStringCreateError
[src]

[src]

A short description of the error. Read more

[src]

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

impl<E: Into<AsciiError>> From<E> for PascalStringCreateError
[src]

[src]

Performs the conversion.

Auto Trait Implementations