[][src]Enum gio::ResourceError

#[non_exhaustive]pub enum ResourceError {
    NotFound,
    Internal,
    // some variants omitted
}

An error code used with G_RESOURCE_ERROR in a glib::Error returned from a Resource routine.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotFound

no file was found at the requested path

Internal

unknown error

Trait Implementations

impl Clone for ResourceError[src]

impl Copy for ResourceError[src]

impl Debug for ResourceError[src]

impl Display for ResourceError[src]

impl Eq for ResourceError[src]

impl ErrorDomain for ResourceError[src]

impl<'a> FromValue<'a> for ResourceError[src]

impl<'a> FromValueOptional<'a> for ResourceError[src]

impl Hash for ResourceError[src]

impl Ord for ResourceError[src]

impl PartialEq<ResourceError> for ResourceError[src]

impl PartialOrd<ResourceError> for ResourceError[src]

impl SetValue for ResourceError[src]

impl StaticType for ResourceError[src]

impl StructuralEq for ResourceError[src]

impl StructuralPartialEq for ResourceError[src]

Auto Trait Implementations

impl RefUnwindSafe for ResourceError

impl Send for ResourceError

impl Sync for ResourceError

impl Unpin for ResourceError

impl UnwindSafe for ResourceError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.