pub enum AsciiError {
ControlChar(usize),
NonAscii(char),
}Variants§
Trait Implementations§
Source§impl Debug for AsciiError
impl Debug for AsciiError
Source§impl Display for AsciiError
impl Display for AsciiError
Source§impl Error for AsciiError
impl Error for AsciiError
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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for AsciiError
impl PartialEq for AsciiError
impl Eq for AsciiError
impl StructuralPartialEq for AsciiError
Auto Trait Implementations§
impl Freeze for AsciiError
impl RefUnwindSafe for AsciiError
impl Send for AsciiError
impl Sync for AsciiError
impl Unpin for AsciiError
impl UnwindSafe for AsciiError
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