[][src]Enum screenruster_saver::Password

pub enum Password {
    Insert,
    Delete,
    Reset,
    Check,
    Success,
    Failure,
}

Represents the state of the password.

This is used to let the saver show a dialog or different animations based on the input, without actually knowing what the input is.

Variants

Insert

A character has been inserted.

Delete

A character has been deleted.

Reset

The field has been reset.

Check

The password is being checked.

Success

The authentication was successful.

Failure

The authentication failed.

Trait Implementations

impl Clone for Password[src]

impl Copy for Password[src]

impl Debug for Password[src]

impl Eq for Password[src]

impl PartialEq<Password> for Password[src]

impl StructuralEq for Password[src]

impl StructuralPartialEq for Password[src]

Auto Trait Implementations

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> Content for T where
    T: Copy
[src]

type Owned = T

A type that holds a sized version of the content.

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

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

impl<T> SetParameter for T

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

type Owned = T

The resulting type after obtaining ownership.

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.