Enum glib::value::ValueTypeMismatchOrNoneError
source · pub enum ValueTypeMismatchOrNoneError {
WrongValueType(ValueTypeMismatchError),
UnexpectedNone,
}
Variants§
WrongValueType(ValueTypeMismatchError)
UnexpectedNone
Trait Implementations§
source§impl Clone for ValueTypeMismatchOrNoneError
impl Clone for ValueTypeMismatchOrNoneError
source§fn clone(&self) -> ValueTypeMismatchOrNoneError
fn clone(&self) -> ValueTypeMismatchOrNoneError
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 Debug for ValueTypeMismatchOrNoneError
impl Debug for ValueTypeMismatchOrNoneError
source§impl Error for ValueTypeMismatchOrNoneError
impl Error for ValueTypeMismatchOrNoneError
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 From<Infallible> for ValueTypeMismatchOrNoneError
impl From<Infallible> for ValueTypeMismatchOrNoneError
source§fn from(e: Infallible) -> Self
fn from(e: Infallible) -> Self
Converts to this type from the input type.
source§impl From<ValueTypeMismatchError> for ValueTypeMismatchOrNoneError
impl From<ValueTypeMismatchError> for ValueTypeMismatchOrNoneError
source§fn from(err: ValueTypeMismatchError) -> Self
fn from(err: ValueTypeMismatchError) -> Self
Converts to this type from the input type.
source§impl PartialEq<ValueTypeMismatchOrNoneError> for ValueTypeMismatchOrNoneError
impl PartialEq<ValueTypeMismatchOrNoneError> for ValueTypeMismatchOrNoneError
source§fn eq(&self, other: &ValueTypeMismatchOrNoneError) -> bool
fn eq(&self, other: &ValueTypeMismatchOrNoneError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.