Enum glib::translate::GlibNoneOrInvalidError
source · pub enum GlibNoneOrInvalidError<I: Error> {
Invalid(I),
None,
}
Expand description
Error type for TryFromGlib
when the Glib value can be None or invalid.
Variants§
Implementations§
Trait Implementations§
source§impl<I: Error> Display for GlibNoneOrInvalidError<I>
impl<I: Error> Display for GlibNoneOrInvalidError<I>
source§impl<I: Error> Error for GlibNoneOrInvalidError<I>
impl<I: Error> Error for GlibNoneOrInvalidError<I>
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()