[][src]Enum gtk::FileChooserError

#[non_exhaustive]pub enum FileChooserError {
    Nonexistent,
    BadFilename,
    AlreadyExists,
    IncompleteHostname,
    // some variants omitted
}

These identify the various errors that can occur while calling FileChooser functions.

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.
Nonexistent

Indicates that a file does not exist.

BadFilename

Indicates a malformed filename.

AlreadyExists

Indicates a duplicate path (e.g. when adding a bookmark).

IncompleteHostname

Indicates an incomplete hostname (e.g. "http://foo" without a slash after that).

Trait Implementations

impl Clone for FileChooserError[src]

impl Copy for FileChooserError[src]

impl Debug for FileChooserError[src]

impl Display for FileChooserError[src]

impl Eq for FileChooserError[src]

impl ErrorDomain for FileChooserError[src]

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

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

impl Hash for FileChooserError[src]

impl Ord for FileChooserError[src]

impl PartialEq<FileChooserError> for FileChooserError[src]

impl PartialOrd<FileChooserError> for FileChooserError[src]

impl SetValue for FileChooserError[src]

impl StaticType for FileChooserError[src]

impl StructuralEq for FileChooserError[src]

impl StructuralPartialEq for FileChooserError[src]

Auto Trait Implementations

impl RefUnwindSafe for FileChooserError

impl Send for FileChooserError

impl Sync for FileChooserError

impl Unpin for FileChooserError

impl UnwindSafe for FileChooserError

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.