Struct webview2_com::GetCookiesCompletedHandler
source · [−]pub struct GetCookiesCompletedHandler(_);
Expand description
Implementation of ICoreWebView2GetCookiesCompletedHandler
.
Implementations
sourceimpl GetCookiesCompletedHandler
impl GetCookiesCompletedHandler
pub fn create(
closure: CompletedClosure<HRESULT, Option<ICoreWebView2CookieList>>
) -> ICoreWebView2GetCookiesCompletedHandler
pub fn wait_for_async_operation(
closure: Box<dyn FnOnce(ICoreWebView2GetCookiesCompletedHandler) -> Result<()>>,
completed: CompletedClosure<HRESULT, Option<ICoreWebView2CookieList>>
) -> Result<()>
Trait Implementations
sourceimpl From<&'_ mut GetCookiesCompletedHandler> for ICoreWebView2GetCookiesCompletedHandler
impl From<&'_ mut GetCookiesCompletedHandler> for ICoreWebView2GetCookiesCompletedHandler
sourcefn from(implementation: &mut GetCookiesCompletedHandler) -> Self
fn from(implementation: &mut GetCookiesCompletedHandler) -> Self
Performs the conversion.
sourceimpl From<GetCookiesCompletedHandler> for ICoreWebView2GetCookiesCompletedHandler
impl From<GetCookiesCompletedHandler> for ICoreWebView2GetCookiesCompletedHandler
sourcefn from(implementation: GetCookiesCompletedHandler) -> Self
fn from(implementation: GetCookiesCompletedHandler) -> Self
Performs the conversion.
sourceimpl From<GetCookiesCompletedHandler> for IUnknown
impl From<GetCookiesCompletedHandler> for IUnknown
sourcefn from(implementation: GetCookiesCompletedHandler) -> Self
fn from(implementation: GetCookiesCompletedHandler) -> Self
Performs the conversion.
sourceimpl From<GetCookiesCompletedHandler> for IInspectable
impl From<GetCookiesCompletedHandler> for IInspectable
sourcefn from(implementation: GetCookiesCompletedHandler) -> Self
fn from(implementation: GetCookiesCompletedHandler) -> Self
Performs the conversion.
sourceimpl ToImpl<ICoreWebView2GetCookiesCompletedHandler> for GetCookiesCompletedHandler
impl ToImpl<ICoreWebView2GetCookiesCompletedHandler> for GetCookiesCompletedHandler
sourceunsafe fn to_impl(
interface: &ICoreWebView2GetCookiesCompletedHandler
) -> &mut Self
unsafe fn to_impl(
interface: &ICoreWebView2GetCookiesCompletedHandler
) -> &mut Self
Safety
Auto Trait Implementations
impl !RefUnwindSafe for GetCookiesCompletedHandler
impl !Send for GetCookiesCompletedHandler
impl !Sync for GetCookiesCompletedHandler
impl Unpin for GetCookiesCompletedHandler
impl !UnwindSafe for GetCookiesCompletedHandler
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