ICoreWebView2WebResourceResponseViewGetContentCompletedHandler

Trait ICoreWebView2WebResourceResponseViewGetContentCompletedHandler 

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

Receives the result of the ICoreWebView2WebResourceResponseView::GetContent method.

Required Methods§

Source

unsafe fn invoke( &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§

Source§

impl ComInterface for dyn ICoreWebView2WebResourceResponseViewGetContentCompletedHandler

Source§

const IID: IID = IID_ICORE_WEB_VIEW2_WEB_RESOURCE_RESPONSE_VIEW_GET_CONTENT_COMPLETED_HANDLER

The associated id for this interface
Source§

type VTable = ICoreWebView2WebResourceResponseViewGetContentCompletedHandlerVTable

A COM compatible V-Table
Source§

type Super = dyn IUnknown

The interface that this interface inherits from
Source§

fn is_iid_in_inheritance_chain(riid: &GUID) -> bool

Check whether a given IID is in the inheritance hierarchy of this interface
Source§

impl<C: ICoreWebView2WebResourceResponseViewGetContentCompletedHandler> ProductionComInterface<C> for dyn ICoreWebView2WebResourceResponseViewGetContentCompletedHandler

Source§

fn vtable<O: Offset>() -> Self::VTable

Get the vtable for a particular COM interface

Implementations on Foreign Types§

Source§

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

Source§

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

Source§

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

Source§

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

Implementors§