Struct glib::translate::GlibNoneError
source · [−]pub struct GlibNoneError;
Expand description
Error type for TryFromGlib
when the Glib value is None.
Trait Implementations
sourceimpl Debug for GlibNoneError
impl Debug for GlibNoneError
sourceimpl Display for GlibNoneError
impl Display for GlibNoneError
sourceimpl Error for GlibNoneError
impl Error for GlibNoneError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl PartialEq<GlibNoneError> for GlibNoneError
impl PartialEq<GlibNoneError> for GlibNoneError
sourcefn 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 ==
. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more