Enum glib::value::InvalidCharError
source · pub enum InvalidCharError {
WrongValueType(ValueTypeMismatchError),
CharConversionError,
}
Expand description
Variants§
WrongValueType(ValueTypeMismatchError)
CharConversionError
Trait Implementations§
source§impl Clone for InvalidCharError
impl Clone for InvalidCharError
source§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 moresource§impl Debug for InvalidCharError
impl Debug for InvalidCharError
source§impl Display for InvalidCharError
impl Display for InvalidCharError
source§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()
source§impl From<Infallible> for InvalidCharError
impl From<Infallible> for InvalidCharError
source§fn from(e: Infallible) -> Self
fn from(e: Infallible) -> Self
Converts to this type from the input type.
source§impl From<ValueTypeMismatchError> for InvalidCharError
impl From<ValueTypeMismatchError> for InvalidCharError
source§fn from(err: ValueTypeMismatchError) -> Self
fn from(err: ValueTypeMismatchError) -> Self
Converts to this type from the input type.
source§impl PartialEq for InvalidCharError
impl PartialEq for InvalidCharError
source§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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more