Struct std::char::TryFromCharError
1.59.0 · source · [−]pub struct TryFromCharError(_);
Expand description
The error type returned when a checked char conversion fails.
Trait Implementations
sourceimpl Clone for TryFromCharError
impl Clone for TryFromCharError
sourcefn clone(&self) -> TryFromCharError
fn clone(&self) -> TryFromCharError
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 TryFromCharError
impl Debug for TryFromCharError
sourceimpl Display for TryFromCharError
impl Display for TryFromCharError
sourceimpl Error for TryFromCharError
impl Error for TryFromCharError
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
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl PartialEq<TryFromCharError> for TryFromCharError
impl PartialEq<TryFromCharError> for TryFromCharError
sourcefn eq(&self, other: &TryFromCharError) -> bool
fn eq(&self, other: &TryFromCharError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TryFromCharError) -> bool
fn ne(&self, other: &TryFromCharError) -> bool
This method tests for !=
.
impl Copy for TryFromCharError
impl Eq for TryFromCharError
impl StructuralEq for TryFromCharError
impl StructuralPartialEq for TryFromCharError
Auto Trait Implementations
impl RefUnwindSafe for TryFromCharError
impl Send for TryFromCharError
impl Sync for TryFromCharError
impl Unpin for TryFromCharError
impl UnwindSafe for TryFromCharError
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