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]
impl PartialEq for PascalStringAppendError
[src]
fn eq(&self, __arg_0: &PascalStringAppendError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PascalStringAppendError) -> bool
This method tests for !=
.
impl Display for PascalStringAppendError
[src]
impl Error for PascalStringAppendError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl<E: Into<AsciiError>> From<E> for PascalStringAppendError
[src]
fn from(e: E) -> Self
Performs the conversion.