Struct encode_unicode::error::NonAsciiError
source · [−]pub struct NonAsciiError;
Expand description
Error returned by Utf8Char::from_ascii()
for bytes that are not ASCII characters.
Trait Implementations
sourceimpl Clone for NonAsciiError
impl Clone for NonAsciiError
sourcefn clone(&self) -> NonAsciiError
fn clone(&self) -> NonAsciiError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NonAsciiError
impl Debug for NonAsciiError
sourceimpl Display for NonAsciiError
impl Display for NonAsciiError
sourceimpl Error for NonAsciiError
impl Error for NonAsciiError
sourcefn description(&self) -> &'static str
fn description(&self) -> &'static str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl PartialEq<NonAsciiError> for NonAsciiError
impl PartialEq<NonAsciiError> for NonAsciiError
impl Copy for NonAsciiError
impl Eq for NonAsciiError
impl StructuralEq for NonAsciiError
impl StructuralPartialEq for NonAsciiError
Auto Trait Implementations
impl RefUnwindSafe for NonAsciiError
impl Send for NonAsciiError
impl Sync for NonAsciiError
impl Unpin for NonAsciiError
impl UnwindSafe for NonAsciiError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more