Enum http_types::cache::ClearDirective [−][src]
pub enum ClearDirective {
Cache,
Cookies,
Storage,
ExecutionContexts,
}An HTTP Clear-Site-Data directive.
Variants
Indicates that the server wishes to remove locally cached data (i.e. the browser cache, see HTTP caching) for the origin of the response URL. Depending on the browser, this might also clear out things like pre-rendered pages, script caches, WebGL shader caches, or address bar suggestions.
Indicates that the server wishes to remove all cookies for the origin of the response URL. HTTP authentication credentials are also cleared out. This affects the entire registered domain, including subdomains. So https://example.com as well as https://stage.example.com, will have cookies cleared.
Indicates that the server wishes to remove all DOM storage for the origin of the response URL.
Indicates that the server wishes to reload all browsing contexts for the origin of the response (Location.reload).
Implementations
impl ClearDirective[src]
impl ClearDirective[src]Trait Implementations
impl Clone for ClearDirective[src]
impl Clone for ClearDirective[src]fn clone(&self) -> ClearDirective[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ClearDirective[src]
impl Copy for ClearDirective[src]impl Eq for ClearDirective[src]
impl Eq for ClearDirective[src]impl FromStr for ClearDirective[src]
impl FromStr for ClearDirective[src]impl Hash for ClearDirective[src]
impl Hash for ClearDirective[src]impl PartialEq<ClearDirective> for ClearDirective[src]
impl PartialEq<ClearDirective> for ClearDirective[src]impl StructuralEq for ClearDirective[src]
impl StructuralEq for ClearDirective[src]impl StructuralPartialEq for ClearDirective[src]
impl StructuralPartialEq for ClearDirective[src]Auto Trait Implementations
impl RefUnwindSafe for ClearDirective
impl RefUnwindSafe for ClearDirectiveimpl Send for ClearDirective
impl Send for ClearDirectiveimpl Sync for ClearDirective
impl Sync for ClearDirectiveimpl Unpin for ClearDirective
impl Unpin for ClearDirectiveimpl UnwindSafe for ClearDirective
impl UnwindSafe for ClearDirectiveBlanket Implementations
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,