pub struct NonAsciiError;
Expand description
Error returned by Utf8Char::from_ascii()
for bytes that are not ASCII characters.
Trait Implementations§
Source§impl Clone for NonAsciiError
impl Clone for NonAsciiError
Source§fn clone(&self) -> NonAsciiError
fn clone(&self) -> NonAsciiError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NonAsciiError
impl Debug for NonAsciiError
Source§impl Display for NonAsciiError
impl Display for NonAsciiError
Source§impl Error for NonAsciiError
impl Error for NonAsciiError
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
Source§impl PartialEq for NonAsciiError
impl PartialEq for NonAsciiError
impl Copy for NonAsciiError
impl Eq for NonAsciiError
impl StructuralPartialEq for NonAsciiError
Auto Trait Implementations§
impl Freeze for NonAsciiError
impl RefUnwindSafe for NonAsciiError
impl Send for NonAsciiError
impl Sync for NonAsciiError
impl Unpin for NonAsciiError
impl UnwindSafe for NonAsciiError
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