[][src]Enum gio::PasswordSave

#[non_exhaustive]pub enum PasswordSave {
    Never,
    ForSession,
    Permanently,
    // some variants omitted
}

PasswordSave is used to indicate the lifespan of a saved password.

Gvfs stores passwords in the Gnome keyring when this flag allows it to, and later retrieves it again from there.

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

never save a password.

ForSession

save a password for the session.

Permanently

save a password permanently.

Trait Implementations

impl Clone for PasswordSave[src]

impl Copy for PasswordSave[src]

impl Debug for PasswordSave[src]

impl Display for PasswordSave[src]

impl Eq for PasswordSave[src]

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

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

impl Hash for PasswordSave[src]

impl Ord for PasswordSave[src]

impl PartialEq<PasswordSave> for PasswordSave[src]

impl PartialOrd<PasswordSave> for PasswordSave[src]

impl SetValue for PasswordSave[src]

impl StaticType for PasswordSave[src]

impl StructuralEq for PasswordSave[src]

impl StructuralPartialEq for PasswordSave[src]

Auto Trait Implementations

impl RefUnwindSafe for PasswordSave

impl Send for PasswordSave

impl Sync for PasswordSave

impl Unpin for PasswordSave

impl UnwindSafe for PasswordSave

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.