[][src]Struct password_store::PasswordStore

pub struct PasswordStore;

Pass process runner.

Implementations

impl PasswordStore[src]

pub fn get(path: &str) -> Result<(String, String)>[src]

Get the username and password a the specified path.

pub fn get_usernames(path: &str) -> Result<Vec<String>>[src]

Get the list of usernames at the specified path.

pub fn generate(path: &str, use_symbols: bool, length: i32) -> Result<()>[src]

Generate a password in the store.

pub fn insert(path: &str, password: &str) -> Result<()>[src]

Insert a password in the store.

pub fn remove(path: &str) -> Result<()>[src]

Remove a password from the store.

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> From<T> for T[src]

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

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.