pub trait CookieStoreMethods<D>where
D: DomTypes,{
// Required methods
fn Get(
&self,
cx: &mut JSContext,
name: USVString,
) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot;
fn Get_(
&self,
cx: &mut JSContext,
options: &CookieStoreGetOptions,
) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot;
fn GetAll(
&self,
cx: &mut JSContext,
name: USVString,
) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot;
fn GetAll_(
&self,
cx: &mut JSContext,
options: &CookieStoreGetOptions,
) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot;
fn Set(
&self,
cx: &mut JSContext,
name: USVString,
value: USVString,
) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot;
fn Set_(
&self,
cx: &mut JSContext,
options: &CookieInit,
) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot;
fn Delete(
&self,
cx: &mut JSContext,
name: USVString,
) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot;
fn Delete_(
&self,
cx: &mut JSContext,
options: &CookieStoreDeleteOptions,
) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot;
}Required Methods§
fn Get( &self, cx: &mut JSContext, name: USVString, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot
fn Get_( &self, cx: &mut JSContext, options: &CookieStoreGetOptions, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot
fn GetAll( &self, cx: &mut JSContext, name: USVString, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot
fn GetAll_( &self, cx: &mut JSContext, options: &CookieStoreGetOptions, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot
fn Set( &self, cx: &mut JSContext, name: USVString, value: USVString, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot
fn Set_( &self, cx: &mut JSContext, options: &CookieInit, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot
fn Delete( &self, cx: &mut JSContext, name: USVString, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot
fn Delete_( &self, cx: &mut JSContext, options: &CookieStoreDeleteOptions, ) -> <<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".