pub trait FFPath {
    const COOKIES: &'static str = "cookies.sqlite";
    const DATAS: &'static str = "places.sqlite";
    const KEY: &'static str = "key4.db";
    const STORAGE: &'static str = "webappsstore.sqlite";
    const PASSWD: &'static str = "logins.json";
    const EXTENSIONS: &'static str = "extensions.json";

    // Required method
    fn base(&self) -> &PathBuf;

    // Provided methods
    fn extensions(&self) -> PathBuf { ... }
    fn passwd(&self) -> PathBuf { ... }
    fn storage(&self) -> PathBuf { ... }
    fn key(&self) -> PathBuf { ... }
    fn datas(&self) -> PathBuf { ... }
    fn cookies(&self) -> PathBuf { ... }
    fn helper(
        init_path: PathBuf,
        base: &str
    ) -> impl Future<Output = Result<PathBuf>> + Send { ... }
}
Expand description

just impl the base method

Provided Associated Constants§

source

const COOKIES: &'static str = "cookies.sqlite"

source

const DATAS: &'static str = "places.sqlite"

source

const KEY: &'static str = "key4.db"

source

const STORAGE: &'static str = "webappsstore.sqlite"

source

const PASSWD: &'static str = "logins.json"

source

const EXTENSIONS: &'static str = "extensions.json"

Required Methods§

source

fn base(&self) -> &PathBuf

Provided Methods§

source

fn extensions(&self) -> PathBuf

json

source

fn passwd(&self) -> PathBuf

json

source

fn storage(&self) -> PathBuf

sqlite3

source

fn key(&self) -> PathBuf

sqlite3

source

fn datas(&self) -> PathBuf

sqlite3

source

fn cookies(&self) -> PathBuf

sqlite3

source

fn helper( init_path: PathBuf, base: &str ) -> impl Future<Output = Result<PathBuf>> + Send

Object Safety§

This trait is not object safe.

Implementors§