Trait webview2_sys::ICoreWebView2WebResourceResponseViewGetContentCompletedHandler[][src]

pub trait ICoreWebView2WebResourceResponseViewGetContentCompletedHandler: IUnknown {
    unsafe fn invoke(
        &self,
        error_code: HRESULT,
        content: *mut *mut IStreamVTable
    ) -> HRESULT; }

Receives the result of the ICoreWebView2WebResourceResponseView::GetContent method.

Required methods

unsafe fn invoke(
    &self,
    error_code: HRESULT,
    content: *mut *mut IStreamVTable
) -> HRESULT
[src]

Provides the completion status and result of the corresponding asynchronous method call. A failure errorCode will be passed if the content failed to load. E_ABORT means the response loading was blocked (e.g., by CORS policy); ERROR_CANCELLED means the response loading was cancelled. ERROR_NO_DATA means the response has no content data, content is null in this case. Note content (if any) is ignored for redirects, 204 No Content, 205 Reset Content, and HEAD-request responses.

Loading content...

Trait Implementations

impl ComInterface for dyn ICoreWebView2WebResourceResponseViewGetContentCompletedHandler[src]

type VTable = ICoreWebView2WebResourceResponseViewGetContentCompletedHandlerVTable

A COM compatible V-Table

type Super = dyn IUnknown

The interface that this interface inherits from

impl<C: ICoreWebView2WebResourceResponseViewGetContentCompletedHandler> ProductionComInterface<C> for dyn ICoreWebView2WebResourceResponseViewGetContentCompletedHandler[src]

Implementations on Foreign Types

impl<T: ICoreWebView2WebResourceResponseViewGetContentCompletedHandler + ComInterface + ?Sized> ICoreWebView2WebResourceResponseViewGetContentCompletedHandler for ComRc<T>[src]

impl<T: ICoreWebView2WebResourceResponseViewGetContentCompletedHandler + ComInterface + ?Sized> ICoreWebView2WebResourceResponseViewGetContentCompletedHandler for ComPtr<T>[src]

Loading content...

Implementors

Loading content...