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