pub trait Backupable: Sized {
    const IDENTIFIER: &'static str;
    const ENCRYPTABLE: bool = false;

    // Required methods
    fn title() -> String;
    fn subtitle() -> String;
    fn backup(provider: &ProvidersModel, key: Option<&str>) -> Result<Vec<u8>>;
}

Required Associated Constants§

source

const IDENTIFIER: &'static str

Provided Associated Constants§

source

const ENCRYPTABLE: bool = false

Indicates that the GUI might need to prompt for a password.

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Backupable for Aegis

source§

const ENCRYPTABLE: bool = true

source§

const IDENTIFIER: &'static str = "aegis"

source§

impl Backupable for AndOTP

source§

const ENCRYPTABLE: bool = false

source§

const IDENTIFIER: &'static str = "andotp"

source§

impl Backupable for FreeOTP

source§

const ENCRYPTABLE: bool = false

source§

const IDENTIFIER: &'static str = "authenticator"