pub enum ProfileSpec {
Temporary,
Named {
root: PathBuf,
name: String,
},
}Expand description
Where the browser keeps cookies, storage, and logins.
Variants§
Temporary
Throwaway profile deleted when the session drops (default).
Named
Named persistent profile at <root>/<name>. One live session per name;
a second launch fails with ProfileInUse instead of corrupting state.
Trait Implementations§
Source§impl Clone for ProfileSpec
impl Clone for ProfileSpec
Source§impl Debug for ProfileSpec
impl Debug for ProfileSpec
impl Eq for ProfileSpec
Source§impl PartialEq for ProfileSpec
impl PartialEq for ProfileSpec
impl StructuralPartialEq for ProfileSpec
Auto Trait Implementations§
impl Freeze for ProfileSpec
impl RefUnwindSafe for ProfileSpec
impl Send for ProfileSpec
impl Sync for ProfileSpec
impl Unpin for ProfileSpec
impl UnsafeUnpin for ProfileSpec
impl UnwindSafe for ProfileSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.