Trait CookieStoreMethods

Source
pub(crate) trait CookieStoreMethods<D>
where D: DomTypes,
{ // Required methods fn Get( &self, name: USVString, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>; fn Get_( &self, options: &CookieStoreGetOptions, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>; fn GetAll( &self, name: USVString, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>; fn GetAll_( &self, options: &CookieStoreGetOptions, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>; fn Set( &self, name: USVString, value: USVString, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>; fn Set_( &self, options: &CookieInit, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>; fn Delete( &self, name: USVString, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>; fn Delete_( &self, options: &CookieStoreDeleteOptions, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>; }

Required Methods§

Source

fn Get(&self, name: USVString, _can_gc: CanGc) -> Rc<<D as DomTypes>::Promise>

Source

fn Get_( &self, options: &CookieStoreGetOptions, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>

Source

fn GetAll( &self, name: USVString, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>

Source

fn GetAll_( &self, options: &CookieStoreGetOptions, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>

Source

fn Set( &self, name: USVString, value: USVString, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>

Source

fn Set_( &self, options: &CookieInit, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>

Source

fn Delete( &self, name: USVString, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>

Source

fn Delete_( &self, options: &CookieStoreDeleteOptions, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>

Implementors§