Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2CookieManager
source · pub struct ICoreWebView2CookieManager(/* private fields */);Implementations§
source§impl ICoreWebView2CookieManager
impl ICoreWebView2CookieManager
pub unsafe fn CreateCookie<P0, P1, P2, P3>( &self, name: P0, value: P1, domain: P2, path: P3 ) -> Result<ICoreWebView2Cookie>where P0: IntoParam<PCWSTR>, P1: IntoParam<PCWSTR>, P2: IntoParam<PCWSTR>, P3: IntoParam<PCWSTR>,
pub unsafe fn CopyCookie<P0>( &self, cookieparam: P0 ) -> Result<ICoreWebView2Cookie>where P0: IntoParam<ICoreWebView2Cookie>,
pub unsafe fn GetCookies<P0, P1>(&self, uri: P0, handler: P1) -> Result<()>where P0: IntoParam<PCWSTR>, P1: IntoParam<ICoreWebView2GetCookiesCompletedHandler>,
pub unsafe fn AddOrUpdateCookie<P0>(&self, cookie: P0) -> Result<()>where P0: IntoParam<ICoreWebView2Cookie>,
pub unsafe fn DeleteCookie<P0>(&self, cookie: P0) -> Result<()>where P0: IntoParam<ICoreWebView2Cookie>,
pub unsafe fn DeleteCookies<P0, P1>(&self, name: P0, uri: P1) -> Result<()>where P0: IntoParam<PCWSTR>, P1: IntoParam<PCWSTR>,
pub unsafe fn DeleteCookiesWithDomainAndPath<P0, P1, P2>( &self, name: P0, domain: P1, path: P2 ) -> Result<()>where P0: IntoParam<PCWSTR>, P1: IntoParam<PCWSTR>, P2: IntoParam<PCWSTR>,
pub unsafe fn DeleteAllCookies(&self) -> Result<()>
Trait Implementations§
source§impl Clone for ICoreWebView2CookieManager
impl Clone for ICoreWebView2CookieManager
source§fn clone(&self) -> ICoreWebView2CookieManager
fn clone(&self) -> ICoreWebView2CookieManager
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl ComInterface for ICoreWebView2CookieManager
impl ComInterface for ICoreWebView2CookieManager
fn as_unknown(&self) -> &IUnknown
source§fn cast<T>(&self) -> Result<T, Error>where
T: ComInterface,
fn cast<T>(&self) -> Result<T, Error>where T: ComInterface,
Attempts to cast the current interface to another interface using
QueryInterface. Read moresource§impl Debug for ICoreWebView2CookieManager
impl Debug for ICoreWebView2CookieManager
source§impl Interface for ICoreWebView2CookieManager
impl Interface for ICoreWebView2CookieManager
type Vtable = ICoreWebView2CookieManager_Vtbl
source§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface implementation.source§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
source§impl PartialEq for ICoreWebView2CookieManager
impl PartialEq for ICoreWebView2CookieManager
source§fn eq(&self, other: &ICoreWebView2CookieManager) -> bool
fn eq(&self, other: &ICoreWebView2CookieManager) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ICoreWebView2CookieManager
impl StructuralEq for ICoreWebView2CookieManager
impl StructuralPartialEq for ICoreWebView2CookieManager
Auto Trait Implementations§
impl RefUnwindSafe for ICoreWebView2CookieManager
impl !Send for ICoreWebView2CookieManager
impl !Sync for ICoreWebView2CookieManager
impl Unpin for ICoreWebView2CookieManager
impl UnwindSafe for ICoreWebView2CookieManager
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more