[][src]Enum gio::PasswordSave

#[non_exhaustive]pub enum PasswordSave {
    // 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 save a password.


save a password for the session.


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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

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

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.