Enum pascal_string::PascalStringAppendError
[−]
[src]
pub enum PascalStringAppendError { NoRoom, NotValidAscii(AsciiError), }
Indicates the range of errors which can occur from appending string data to a PascalString
.
Variants
NoRoom
There is no room to store the appended data.
NotValidAscii(AsciiError)
The data provided was not correctly encoded as ascii.
Trait Implementations
impl Debug for PascalStringAppendError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for PascalStringAppendError
[src]
fn eq(&self, __arg_0: &PascalStringAppendError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PascalStringAppendError) -> bool
[src]
This method tests for !=
.
impl Display for PascalStringAppendError
[src]
fn fmt(&self, fmtr: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for PascalStringAppendError
[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