[][src]Struct kdbx4::CompositeKey

pub struct CompositeKey { /* fields omitted */ }

The key to the database.

May be constructed with a plain password string or from a password and a key file (read more).

Methods

impl CompositeKey
[src]

Creates CompositeKey using master password and database key file. Both arguments are optional.

Example

use kdbx4::{Kdbx4,CompositeKey};

let key = CompositeKey::new(None, Some("~/.secret"))?;
let db = Kdbx4::open("~/passwords.kdbx", key);

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

Should always be Self