Struct webview2_com::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, Error>where P0: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>, P1: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>, P2: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>, P3: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>,
pub unsafe fn CopyCookie<P0>( &self, cookieparam: P0 ) -> Result<ICoreWebView2Cookie, Error>where P0: IntoParam<ICoreWebView2Cookie, <ICoreWebView2Cookie as TypeKind>::TypeKind>,
pub unsafe fn GetCookies<P0, P1>( &self, uri: P0, handler: P1 ) -> Result<(), Error>where P0: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>, P1: IntoParam<ICoreWebView2GetCookiesCompletedHandler, <ICoreWebView2GetCookiesCompletedHandler as TypeKind>::TypeKind>,
pub unsafe fn AddOrUpdateCookie<P0>(&self, cookie: P0) -> Result<(), Error>where P0: IntoParam<ICoreWebView2Cookie, <ICoreWebView2Cookie as TypeKind>::TypeKind>,
pub unsafe fn DeleteCookie<P0>(&self, cookie: P0) -> Result<(), Error>where P0: IntoParam<ICoreWebView2Cookie, <ICoreWebView2Cookie as TypeKind>::TypeKind>,
pub unsafe fn DeleteCookies<P0, P1>( &self, name: P0, uri: P1 ) -> Result<(), Error>where P0: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>, P1: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>,
pub unsafe fn DeleteCookiesWithDomainAndPath<P0, P1, P2>( &self, name: P0, domain: P1, path: P2 ) -> Result<(), Error>where P0: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>, P1: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>, P2: IntoParam<PCWSTR, <PCWSTR as TypeKind>::TypeKind>,
pub unsafe fn DeleteAllCookies(&self) -> Result<(), Error>
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
source§const IID: GUID = ::windows::core::GUID::from_u128(31220508354723701857172037864566571329)
const IID: GUID = ::windows::core::GUID::from_u128(31220508354723701857172037864566571329)
A unique identifier representing this interface.
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
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
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