Struct webview2_com::GetCookiesCompletedHandler
source · pub struct GetCookiesCompletedHandler(/* private fields */);
Expand description
Implementation of ICoreWebView2GetCookiesCompletedHandler_Impl
.
Implementations§
source§impl 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§
source§impl AsImpl<GetCookiesCompletedHandler> for IUnknown
impl AsImpl<GetCookiesCompletedHandler> for IUnknown
source§impl ComObjectInner for GetCookiesCompletedHandler
impl ComObjectInner for GetCookiesCompletedHandler
§type Outer = GetCookiesCompletedHandler_Impl
type Outer = GetCookiesCompletedHandler_Impl
The generated
<foo>_Impl
type (aka the “boxed” type or “outer” type).source§fn into_object(self) -> ComObject<Self>
fn into_object(self) -> ComObject<Self>
Moves an instance of this type into a new ComObject box and returns it. Read more
source§impl From<GetCookiesCompletedHandler> for ICoreWebView2GetCookiesCompletedHandler
impl From<GetCookiesCompletedHandler> for ICoreWebView2GetCookiesCompletedHandler
source§fn from(this: GetCookiesCompletedHandler) -> Self
fn from(this: GetCookiesCompletedHandler) -> Self
Converts to this type from the input type.
source§impl From<GetCookiesCompletedHandler> for IInspectable
impl From<GetCookiesCompletedHandler> for IInspectable
source§fn from(this: GetCookiesCompletedHandler) -> Self
fn from(this: GetCookiesCompletedHandler) -> Self
Converts to this type from the input type.
source§impl From<GetCookiesCompletedHandler> for IUnknown
impl From<GetCookiesCompletedHandler> for IUnknown
source§fn from(this: GetCookiesCompletedHandler) -> Self
fn from(this: GetCookiesCompletedHandler) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for GetCookiesCompletedHandler
impl !RefUnwindSafe for GetCookiesCompletedHandler
impl !Send for GetCookiesCompletedHandler
impl !Sync for GetCookiesCompletedHandler
impl Unpin for GetCookiesCompletedHandler
impl !UnwindSafe for GetCookiesCompletedHandler
Blanket Implementations§
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