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
impl Clone for TryFromCharError
source
impl Clone for TryFromCharError
sourcefn clone(&self) -> TryFromCharError
source
fn clone(&self) -> TryFromCharError
sourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0 · source
fn clone_from(&mut self, source: &Self)
1.0.0 · sourcePerforms copy-assignment from source. Read more
impl Debug for TryFromCharError
source
impl Debug for TryFromCharError
sourceimpl Display for TryFromCharError
source
impl Display for TryFromCharError
sourceimpl Error for TryFromCharError
source
impl Error for TryFromCharError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0 · source
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0 · sourceThe lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
source
fn backtrace(&self) -> Option<&Backtrace>
sourceReturns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0 · source
fn description(&self) -> &str
1.0.0 · source👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl PartialEq<TryFromCharError> for TryFromCharError
source
impl PartialEq<TryFromCharError> for TryFromCharError
sourcefn eq(&self, other: &TryFromCharError) -> bool
source
fn eq(&self, other: &TryFromCharError) -> bool
sourceThis method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &TryFromCharError) -> bool
source
fn ne(&self, other: &TryFromCharError) -> bool
sourceThis method tests for !=.
impl Copy for TryFromCharError
sourceimpl Eq for TryFromCharError
sourceimpl StructuralEq for TryFromCharError
sourceimpl StructuralPartialEq for TryFromCharError
sourceAuto Trait Implementations
impl RefUnwindSafe for TryFromCharError
impl Send for TryFromCharError
impl Sync for TryFromCharError
impl Unpin for TryFromCharError
impl UnwindSafe for TryFromCharError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
source
impl<T> BorrowMut<T> for T where
T: ?Sized,
sourcefn borrow_mut(&mut self) -> &mut T
const: unstable · source
fn borrow_mut(&mut self) -> &mut T
const: unstable · sourceMutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
source
impl<T> ToOwned for T where
T: Clone,
sourcetype Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
source
fn clone_into(&self, target: &mut T)
sourceUses borrowed data to replace owned data, usually by cloning. Read more