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§
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>
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.