ICoreWebView2NavigationCompletedEventArgs

Trait ICoreWebView2NavigationCompletedEventArgs 

Source
pub trait ICoreWebView2NavigationCompletedEventArgs: IUnknown {
    // Required methods
    unsafe fn get_is_success(&self, is_success: *mut BOOL) -> HRESULT;
    unsafe fn get_web_error_status(
        &self,
        web_error_status: *mut WebErrorStatus,
    ) -> HRESULT;
    unsafe fn get_navigation_id(&self, navigation_id: *mut u64) -> HRESULT;
}
Expand description

Event args for the NavigationCompleted event.

Required Methods§

Source

unsafe fn get_is_success(&self, is_success: *mut BOOL) -> HRESULT

TRUE when the navigation is successful. FALSE for a navigation that ended up in an error page (failures due to no network, DNS lookup failure, HTTP server responds with 4xx), but may also be FALSE for additional scenarios such as window.stop() run on navigated page.

Source

unsafe fn get_web_error_status( &self, web_error_status: *mut WebErrorStatus, ) -> HRESULT

The error code if the navigation failed.

Source

unsafe fn get_navigation_id(&self, navigation_id: *mut u64) -> HRESULT

The ID of the navigation.

Trait Implementations§

Source§

impl ComInterface for dyn ICoreWebView2NavigationCompletedEventArgs

Source§

const IID: IID = IID_ICORE_WEB_VIEW2_NAVIGATION_COMPLETED_EVENT_ARGS

The associated id for this interface
Source§

type VTable = ICoreWebView2NavigationCompletedEventArgsVTable

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: ICoreWebView2NavigationCompletedEventArgs> ProductionComInterface<C> for dyn ICoreWebView2NavigationCompletedEventArgs

Source§

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

Get the vtable for a particular COM interface

Implementations on Foreign Types§

Source§

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

Source§

unsafe fn get_is_success(&self, is_success: *mut BOOL) -> HRESULT

Source§

unsafe fn get_web_error_status( &self, web_error_status: *mut WebErrorStatus, ) -> HRESULT

Source§

unsafe fn get_navigation_id(&self, navigation_id: *mut u64) -> HRESULT

Source§

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

Source§

unsafe fn get_is_success(&self, is_success: *mut BOOL) -> HRESULT

Source§

unsafe fn get_web_error_status( &self, web_error_status: *mut WebErrorStatus, ) -> HRESULT

Source§

unsafe fn get_navigation_id(&self, navigation_id: *mut u64) -> HRESULT

Implementors§