pub enum InvalidCharError {
WrongValueType(ValueTypeMismatchError),
CharConversionError,
}
Expand description
Variants§
WrongValueType(ValueTypeMismatchError)
CharConversionError
Trait Implementations§
§impl Clone for InvalidCharError
impl Clone for InvalidCharError
§fn clone(&self) -> InvalidCharError
fn clone(&self) -> InvalidCharError
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 more§impl Debug for InvalidCharError
impl Debug for InvalidCharError
§impl Display for InvalidCharError
impl Display for InvalidCharError
§impl Error for InvalidCharError
impl Error for InvalidCharError
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
§impl From<Infallible> for InvalidCharError
impl From<Infallible> for InvalidCharError
§fn from(e: Infallible) -> InvalidCharError
fn from(e: Infallible) -> InvalidCharError
Converts to this type from the input type.
§impl From<ValueTypeMismatchError> for InvalidCharError
impl From<ValueTypeMismatchError> for InvalidCharError
§fn from(err: ValueTypeMismatchError) -> InvalidCharError
fn from(err: ValueTypeMismatchError) -> InvalidCharError
Converts to this type from the input type.
§impl PartialEq<InvalidCharError> for InvalidCharError
impl PartialEq<InvalidCharError> for InvalidCharError
§fn eq(&self, other: &InvalidCharError) -> bool
fn eq(&self, other: &InvalidCharError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InvalidCharError
impl StructuralEq for InvalidCharError
impl StructuralPartialEq for InvalidCharError
Auto Trait Implementations§
impl RefUnwindSafe for InvalidCharError
impl Send for InvalidCharError
impl Sync for InvalidCharError
impl Unpin for InvalidCharError
impl UnwindSafe for InvalidCharError
Blanket Implementations§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.