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]
&self,
error_code: HRESULT,
content: *mut *mut IStreamVTable
) -> HRESULT
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.
Trait Implementations
Implementations on Foreign Types
impl<T: ICoreWebView2WebResourceResponseViewGetContentCompletedHandler + ComInterface + ?Sized> ICoreWebView2WebResourceResponseViewGetContentCompletedHandler for ComRc<T>[src]
impl<T: ICoreWebView2WebResourceResponseViewGetContentCompletedHandler + ComInterface + ?Sized> ICoreWebView2WebResourceResponseViewGetContentCompletedHandler for ComRc<T>[src]impl<T: ICoreWebView2WebResourceResponseViewGetContentCompletedHandler + ComInterface + ?Sized> ICoreWebView2WebResourceResponseViewGetContentCompletedHandler for ComPtr<T>[src]
impl<T: ICoreWebView2WebResourceResponseViewGetContentCompletedHandler + ComInterface + ?Sized> ICoreWebView2WebResourceResponseViewGetContentCompletedHandler for ComPtr<T>[src]