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
InputTooLong
The data provided to the constructor was larger than the PascalString
could store.
NotValidAscii(AsciiError)
The data provided was not correctly encoded as ascii.
Trait Implementations
impl Debug for PascalStringCreateError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for PascalStringCreateError
[src]
fn eq(&self, __arg_0: &PascalStringCreateError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PascalStringCreateError) -> bool
[src]
This method tests for !=
.
impl Display for PascalStringCreateError
[src]
fn fmt(&self, fmtr: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for PascalStringCreateError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more