pub struct ICoreWebView2CookieManager(/* private fields */);
Implementations§
Source§impl ICoreWebView2CookieManager
impl ICoreWebView2CookieManager
pub unsafe fn CreateCookie<'a>( &self, name: impl IntoParam<'a, PWSTR>, value: impl IntoParam<'a, PWSTR>, domain: impl IntoParam<'a, PWSTR>, path: impl IntoParam<'a, PWSTR>, ) -> Result<ICoreWebView2Cookie>
pub unsafe fn CopyCookie<'a>( &self, cookieparam: impl IntoParam<'a, ICoreWebView2Cookie>, ) -> Result<ICoreWebView2Cookie>
pub unsafe fn GetCookies<'a>( &self, uri: impl IntoParam<'a, PWSTR>, handler: impl IntoParam<'a, ICoreWebView2GetCookiesCompletedHandler>, ) -> Result<()>
pub unsafe fn AddOrUpdateCookie<'a>( &self, cookie: impl IntoParam<'a, ICoreWebView2Cookie>, ) -> Result<()>
pub unsafe fn DeleteCookie<'a>( &self, cookie: impl IntoParam<'a, ICoreWebView2Cookie>, ) -> Result<()>
pub unsafe fn DeleteCookies<'a>( &self, name: impl IntoParam<'a, PWSTR>, uri: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn DeleteCookiesWithDomainAndPath<'a>( &self, name: impl IntoParam<'a, PWSTR>, domain: impl IntoParam<'a, PWSTR>, path: impl IntoParam<'a, PWSTR>, ) -> Result<()>
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 Debug for ICoreWebView2CookieManager
impl Debug for ICoreWebView2CookieManager
Source§impl From<&ICoreWebView2CookieManager> for IUnknown
impl From<&ICoreWebView2CookieManager> for IUnknown
Source§fn from(value: &ICoreWebView2CookieManager) -> Self
fn from(value: &ICoreWebView2CookieManager) -> Self
Converts to this type from the input type.
Source§impl From<ICoreWebView2CookieManager> for IUnknown
impl From<ICoreWebView2CookieManager> for IUnknown
Source§fn from(value: ICoreWebView2CookieManager) -> Self
fn from(value: ICoreWebView2CookieManager) -> Self
Converts to this type from the input type.
Source§impl Interface for ICoreWebView2CookieManager
impl Interface for ICoreWebView2CookieManager
const IID: Guid
type Vtable = ICoreWebView2CookieManager_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
impl Eq for ICoreWebView2CookieManager
impl StructuralPartialEq for ICoreWebView2CookieManager
Auto Trait Implementations§
impl Freeze for ICoreWebView2CookieManager
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> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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