Trait ICoreWebView2WebResourceRequest_Impl

Source
pub trait ICoreWebView2WebResourceRequest_Impl: IUnknownImpl {
    // Required methods
    fn Uri(&self, uri: *mut PWSTR) -> Result<()>;
    fn SetUri(&self, uri: &PCWSTR) -> Result<()>;
    fn Method(&self, method: *mut PWSTR) -> Result<()>;
    fn SetMethod(&self, method: &PCWSTR) -> Result<()>;
    fn Content(&self) -> Result<IStream>;
    fn SetContent(&self, content: Ref<'_, IStream>) -> Result<()>;
    fn Headers(&self) -> Result<ICoreWebView2HttpRequestHeaders>;
}

Required Methods§

Source

fn Uri(&self, uri: *mut PWSTR) -> Result<()>

Source

fn SetUri(&self, uri: &PCWSTR) -> Result<()>

Source

fn Method(&self, method: *mut PWSTR) -> Result<()>

Source

fn SetMethod(&self, method: &PCWSTR) -> Result<()>

Source

fn Content(&self) -> Result<IStream>

Source

fn SetContent(&self, content: Ref<'_, IStream>) -> Result<()>

Source

fn Headers(&self) -> Result<ICoreWebView2HttpRequestHeaders>

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§