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

A builder-pattern type to construct WebsiteDataManager objects.

Implementations

Build the WebsiteDataManager.

The base directory for Website cache. This is used as a base directory for any Website cache when no specific cache directory has been provided.

The base directory for Website data. This is used as a base directory for any Website data when no specific data directory has been provided.

The directory where HTTP disk cache will be stored.

Available on crate feature v2_30 only.

The directory where DOM cache will be stored.

Available on crate feature v2_26 only.

The directory where the HTTP Strict-Transport-Security (HSTS) cache will be stored.

The directory where IndexedDB databases will be stored.

Available on crate feature v2_16 only.

Whether the WebsiteDataManager is ephemeral. An ephemeral WebsiteDataManager handles all websites data as non-persistent, and nothing will be written to the client storage. Note that if you create an ephemeral WebsiteDataManager all other construction parameters to configure data directories will be ignored.

Available on crate feature v2_30 only.

The directory where Intelligent Tracking Prevention (ITP) data will be stored.

The directory where local storage data will be stored.

The directory where offline web application cache will be stored.

Available on crate feature v2_30 only.

The directory where service workers registrations will be stored.

👎Deprecated: Since 2.24

The directory where WebSQL databases will be stored. WebSQL is no longer supported. Use IndexedDB instead.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.