pub trait ChromiumPath {
const BASE: &'static str;
const NAME: &'static str;
const SAFE_STORAGE: &str;
const COOKIES: &str = "Default/Cookies";
const LOGIN_DATA: &str = "Default/Login Data";
const LOGIN_DATA_FOR_ACCOUNT: &str = "Default/Login Data For Account";
// Provided methods
fn cookies(base: PathBuf) -> PathBuf { ... }
fn cookies_temp() -> Option<PathBuf> { ... }
fn login_data(base: PathBuf) -> PathBuf { ... }
fn login_data_temp() -> Option<PathBuf> { ... }
fn login_data_for_account(base: PathBuf) -> PathBuf { ... }
fn login_data_for_account_temp() -> Option<PathBuf> { ... }
}
Required Associated Constants§
Sourceconst NAME: &'static str
const NAME: &'static str
Browser name for std::fmt::Display
Sourceconst SAFE_STORAGE: &str
const SAFE_STORAGE: &str
Safe keyring Storage name
Provided Associated Constants§
Sourceconst LOGIN_DATA: &str = "Default/Login Data"
const LOGIN_DATA: &str = "Default/Login Data"
Suffix for login data path (sqlite3 database)
Sourceconst LOGIN_DATA_FOR_ACCOUNT: &str = "Default/Login Data For Account"
const LOGIN_DATA_FOR_ACCOUNT: &str = "Default/Login Data For Account"
Another login data (sqlite3)
Provided Methods§
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 file (sqlite3 database)
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.
Sourcefn login_data_for_account(base: PathBuf) -> PathBuf
fn login_data_for_account(base: PathBuf) -> PathBuf
Login data file (sqlite3 database)
Sourcefn login_data_for_account_temp() -> Option<PathBuf>
fn login_data_for_account_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.