pub enum PascalStringAppendError {
NoRoom,
NotValidAscii(AsciiError),
}
Expand description
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§
Source§impl Debug for PascalStringAppendError
impl Debug for PascalStringAppendError
Source§impl Display for PascalStringAppendError
impl Display for PascalStringAppendError
Source§impl Error for PascalStringAppendError
impl Error for PascalStringAppendError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl<E: Into<AsciiError>> From<E> for PascalStringAppendError
impl<E: Into<AsciiError>> From<E> for PascalStringAppendError
Source§impl PartialEq for PascalStringAppendError
impl PartialEq for PascalStringAppendError
impl StructuralPartialEq for PascalStringAppendError
Auto Trait Implementations§
impl Freeze for PascalStringAppendError
impl RefUnwindSafe for PascalStringAppendError
impl Send for PascalStringAppendError
impl Sync for PascalStringAppendError
impl Unpin for PascalStringAppendError
impl UnwindSafe for PascalStringAppendError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more