Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2CookieManager
source · #[repr(transparent)]pub struct ICoreWebView2CookieManager(_);
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§impl ComInterface for ICoreWebView2CookieManager
impl ComInterface for ICoreWebView2CookieManager
source§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<ICoreWebView2CookieManager> for ICoreWebView2CookieManager
impl PartialEq<ICoreWebView2CookieManager> for ICoreWebView2CookieManager
impl Eq 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