webview2_com::Microsoft::Web::WebView2::Win32

Trait ICoreWebView2ExecuteScriptResult_Impl

Source
pub trait ICoreWebView2ExecuteScriptResult_Impl: IUnknownImpl {
    // Required methods
    fn Succeeded(&self, value: *mut BOOL) -> Result<(), Error>;
    fn ResultAsJson(&self, jsonresult: *mut PWSTR) -> Result<(), Error>;
    fn TryGetResultAsString(
        &self,
        stringresult: *mut PWSTR,
        value: *mut BOOL,
    ) -> Result<(), Error>;
    fn Exception(&self) -> Result<ICoreWebView2ScriptException, Error>;
}

Required Methods§

Source

fn Succeeded(&self, value: *mut BOOL) -> Result<(), Error>

Source

fn ResultAsJson(&self, jsonresult: *mut PWSTR) -> Result<(), Error>

Source

fn TryGetResultAsString( &self, stringresult: *mut PWSTR, value: *mut BOOL, ) -> Result<(), Error>

Source

fn Exception(&self) -> Result<ICoreWebView2ScriptException, Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§