pub struct WebsiteDataManagerBuilder { /* private fields */ }
Available on crate feature v2_10 only.
Expand description

A builder-pattern type to construct WebsiteDataManager objects.

Implementations§

source§

impl WebsiteDataManagerBuilder

source

pub fn base_cache_directory( self, base_cache_directory: impl Into<GString> ) -> Self

source

pub fn base_data_directory( self, base_data_directory: impl Into<GString> ) -> Self

source

pub fn disk_cache_directory( self, disk_cache_directory: impl Into<GString> ) -> Self

👎Deprecated: Since 2.40
source

pub fn dom_cache_directory( self, dom_cache_directory: impl Into<GString> ) -> Self

👎Deprecated: Since 2.40
Available on crate feature v2_30 only.
source

pub fn hsts_cache_directory( self, hsts_cache_directory: impl Into<GString> ) -> Self

👎Deprecated: Since 2.40
Available on crate feature v2_26 only.
source

pub fn indexeddb_directory( self, indexeddb_directory: impl Into<GString> ) -> Self

👎Deprecated: Since 2.40
source

pub fn is_ephemeral(self, is_ephemeral: bool) -> Self

Available on crate feature v2_16 only.
source

pub fn itp_directory(self, itp_directory: impl Into<GString>) -> Self

👎Deprecated: Since 2.40
Available on crate feature v2_30 only.
source

pub fn local_storage_directory( self, local_storage_directory: impl Into<GString> ) -> Self

👎Deprecated: Since 2.40
source

pub fn offline_application_cache_directory( self, offline_application_cache_directory: impl Into<GString> ) -> Self

👎Deprecated: Since 2.40
source

pub fn service_worker_registrations_directory( self, service_worker_registrations_directory: impl Into<GString> ) -> Self

👎Deprecated: Since 2.40
Available on crate feature v2_30 only.
source

pub fn websql_directory(self, websql_directory: impl Into<GString>) -> Self

👎Deprecated: Since 2.24
source

pub fn build(self) -> WebsiteDataManager

Build the WebsiteDataManager.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.