Struct glib::translate::GlibNoneError
source · pub struct GlibNoneError;
Expand description
Error type for TryFromGlib
when the Glib value is None.
Trait Implementations§
source§impl Debug for GlibNoneError
impl Debug for GlibNoneError
source§impl Display for GlibNoneError
impl Display for GlibNoneError
source§impl Error for GlibNoneError
impl Error for GlibNoneError
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 PartialEq<GlibNoneError> for GlibNoneError
impl PartialEq<GlibNoneError> for GlibNoneError
source§fn eq(&self, other: &GlibNoneError) -> bool
fn eq(&self, other: &GlibNoneError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GlibNoneError
impl StructuralEq for GlibNoneError
impl StructuralPartialEq for GlibNoneError
Auto Trait Implementations§
impl RefUnwindSafe for GlibNoneError
impl Send for GlibNoneError
impl Sync for GlibNoneError
impl Unpin for GlibNoneError
impl UnwindSafe for GlibNoneError
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