Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2CookieManager [−][src]
#[repr(transparent)]pub struct ICoreWebView2CookieManager(_);Implementations
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<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
type DefaultType = Option<T>
Converts from Self::DefaultType to Result<T>.
Returns a pointer for setting the object’s value via an ABI call.
Mutably borrows from an owned value. Read more