pub trait FirefoxPath {
const BASE: &'static str;
const NAME: &'static str;
const COOKIES: &str = "cookies.sqlite";
const LOGIN_DATA: &str = "logins.json";
const KEY: &str = "key4.db";
// Provided methods
fn key(base: PathBuf) -> PathBuf { ... }
fn key_temp() -> Option<PathBuf> { ... }
fn cookies(base: PathBuf) -> PathBuf { ... }
fn cookies_temp() -> Option<PathBuf> { ... }
fn login_data(base: PathBuf) -> PathBuf { ... }
fn login_data_temp() -> Option<PathBuf> { ... }
}
Required Associated Constants§
Sourceconst NAME: &'static str
const NAME: &'static str
Name for std::fmt::Display
Provided Associated Constants§
Sourceconst LOGIN_DATA: &str = "logins.json"
const LOGIN_DATA: &str = "logins.json"
Suffix for login data path (json)
Provided Methods§
Sourcefn key_temp() -> Option<PathBuf>
fn key_temp() -> Option<PathBuf>
Copy the decryption key file to a location to avoid conflicts with the browser over access to it.
Cookies path (sqlite3 database)
Copy the cookies file to a location to avoid conflicts with the browser over access to it.
Sourcefn login_data(base: PathBuf) -> PathBuf
fn login_data(base: PathBuf) -> PathBuf
Login data path (json)
Sourcefn login_data_temp() -> Option<PathBuf>
fn login_data_temp() -> Option<PathBuf>
Copy the login data file to a location to avoid conflicts with the browser over access to it.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.