pub struct GlibNoneError;
Expand description
Error type for TryFromGlib
when the Glib value is None.
Trait Implementations§
§impl Debug for GlibNoneError
impl Debug for GlibNoneError
§impl Display for GlibNoneError
impl Display for GlibNoneError
§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()
§impl PartialEq<GlibNoneError> for GlibNoneError
impl PartialEq<GlibNoneError> for GlibNoneError
§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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.