Enum glib::value::ValueTypeMismatchOrNoneError
source · pub enum ValueTypeMismatchOrNoneError<E: Error> {
WrongValueType(E),
UnexpectedNone,
}
Variants§
Trait Implementations§
source§impl<E: Clone + Error> Clone for ValueTypeMismatchOrNoneError<E>
impl<E: Clone + Error> Clone for ValueTypeMismatchOrNoneError<E>
source§fn clone(&self) -> ValueTypeMismatchOrNoneError<E>
fn clone(&self) -> ValueTypeMismatchOrNoneError<E>
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<E: Error> Display for ValueTypeMismatchOrNoneError<E>
impl<E: Error> Display for ValueTypeMismatchOrNoneError<E>
source§impl<E: Error> Error for ValueTypeMismatchOrNoneError<E>
impl<E: Error> Error for ValueTypeMismatchOrNoneError<E>
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()
source§impl<E: Error> From<E> for ValueTypeMismatchOrNoneError<E>
impl<E: Error> From<E> for ValueTypeMismatchOrNoneError<E>
source§impl<E: PartialEq + Error> PartialEq<ValueTypeMismatchOrNoneError<E>> for ValueTypeMismatchOrNoneError<E>
impl<E: PartialEq + Error> PartialEq<ValueTypeMismatchOrNoneError<E>> for ValueTypeMismatchOrNoneError<E>
source§fn eq(&self, other: &ValueTypeMismatchOrNoneError<E>) -> bool
fn eq(&self, other: &ValueTypeMismatchOrNoneError<E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.