Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2CookieManager
source · [−]#[repr(transparent)]pub struct ICoreWebView2CookieManager(_);
Implementations
sourceimpl ICoreWebView2CookieManager
impl ICoreWebView2CookieManager
pub unsafe fn CreateCookie<'a, Param0: IntoParam<'a, PWSTR>, Param1: IntoParam<'a, PWSTR>, Param2: IntoParam<'a, PWSTR>, Param3: IntoParam<'a, PWSTR>>(
&self,
name: Param0,
value: Param1,
domain: Param2,
path: Param3
) -> Result<ICoreWebView2Cookie>
pub unsafe fn CopyCookie<'a, Param0: IntoParam<'a, ICoreWebView2Cookie>>(
&self,
cookieparam: Param0
) -> Result<ICoreWebView2Cookie>
pub unsafe fn GetCookies<'a, Param0: IntoParam<'a, PWSTR>, Param1: IntoParam<'a, ICoreWebView2GetCookiesCompletedHandler>>(
&self,
uri: Param0,
handler: Param1
) -> Result<()>
pub unsafe fn AddOrUpdateCookie<'a, Param0: IntoParam<'a, ICoreWebView2Cookie>>(
&self,
cookie: Param0
) -> Result<()>
pub unsafe fn DeleteCookie<'a, Param0: IntoParam<'a, ICoreWebView2Cookie>>(
&self,
cookie: Param0
) -> Result<()>
pub unsafe fn DeleteCookies<'a, Param0: IntoParam<'a, PWSTR>, Param1: IntoParam<'a, PWSTR>>(
&self,
name: Param0,
uri: Param1
) -> Result<()>
pub unsafe fn DeleteCookiesWithDomainAndPath<'a, Param0: IntoParam<'a, PWSTR>, Param1: IntoParam<'a, PWSTR>, Param2: IntoParam<'a, PWSTR>>(
&self,
name: Param0,
domain: Param1,
path: Param2
) -> Result<()>
pub unsafe fn DeleteAllCookies(&self) -> Result<()>
Trait Implementations
sourceimpl Clone for ICoreWebView2CookieManager
impl Clone for ICoreWebView2CookieManager
sourceimpl Debug for ICoreWebView2CookieManager
impl Debug for ICoreWebView2CookieManager
sourceimpl From<&'_ ICoreWebView2CookieManager> for IUnknown
impl From<&'_ ICoreWebView2CookieManager> for IUnknown
sourcefn from(value: &ICoreWebView2CookieManager) -> Self
fn from(value: &ICoreWebView2CookieManager) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2CookieManager> for IUnknown
impl From<ICoreWebView2CookieManager> for IUnknown
sourcefn from(value: ICoreWebView2CookieManager) -> Self
fn from(value: ICoreWebView2CookieManager) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2CookieManager
impl Interface 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
impl<T> DefaultType for T where
T: Interface + Clone + PartialEq<T>,
type DefaultType = Option<T>
sourceunsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
Safety
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more