Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2CookieManager
source · [−]#[repr(transparent)]pub struct ICoreWebView2CookieManager(_);
Implementations
sourceimpl ICoreWebView2CookieManager
impl ICoreWebView2CookieManager
pub unsafe fn CreateCookie<'a, Param0, Param1, Param2, Param3>(
&self,
name: Param0,
value: Param1,
domain: Param2,
path: Param3
) -> Result<ICoreWebView2Cookie, Error> where
Param0: IntoParam<'a, PWSTR>,
Param1: IntoParam<'a, PWSTR>,
Param2: IntoParam<'a, PWSTR>,
Param3: IntoParam<'a, PWSTR>,
pub unsafe fn CopyCookie<'a, Param0>(
&self,
cookieparam: Param0
) -> Result<ICoreWebView2Cookie, Error> where
Param0: IntoParam<'a, ICoreWebView2Cookie>,
pub unsafe fn GetCookies<'a, Param0, Param1>(
&self,
uri: Param0,
handler: Param1
) -> Result<(), Error> where
Param0: IntoParam<'a, PWSTR>,
Param1: IntoParam<'a, ICoreWebView2GetCookiesCompletedHandler>,
pub unsafe fn AddOrUpdateCookie<'a, Param0>(
&self,
cookie: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2Cookie>,
pub unsafe fn DeleteCookie<'a, Param0>(
&self,
cookie: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2Cookie>,
pub unsafe fn DeleteCookies<'a, Param0, Param1>(
&self,
name: Param0,
uri: Param1
) -> Result<(), Error> where
Param0: IntoParam<'a, PWSTR>,
Param1: IntoParam<'a, PWSTR>,
pub unsafe fn DeleteCookiesWithDomainAndPath<'a, Param0, Param1, Param2>(
&self,
name: Param0,
domain: Param1,
path: Param2
) -> Result<(), Error> where
Param0: IntoParam<'a, PWSTR>,
Param1: IntoParam<'a, PWSTR>,
Param2: IntoParam<'a, PWSTR>,
pub unsafe fn DeleteAllCookies(&self) -> Result<(), Error>
Trait Implementations
sourceimpl Clone for ICoreWebView2CookieManager
impl Clone for ICoreWebView2CookieManager
sourcepub fn clone(&self) -> ICoreWebView2CookieManager
pub fn clone(&self) -> ICoreWebView2CookieManager
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ICoreWebView2CookieManager
impl Debug for ICoreWebView2CookieManager
sourceimpl Interface for ICoreWebView2CookieManager
impl Interface for ICoreWebView2CookieManager
type Vtable = ICoreWebView2CookieManagerVtbl
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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>
sourcepub unsafe fn from_default(
value: &<T as DefaultType>::DefaultType
) -> Result<T, Error>
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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