pub trait ICoreWebView2WebResourceResponse_Impl: Sized {
// Required methods
fn Content(&self) -> Result<IStream, Error>;
fn SetContent(&self, content: Option<&IStream>) -> Result<(), Error>;
fn Headers(&self) -> Result<ICoreWebView2HttpResponseHeaders, Error>;
fn StatusCode(&self, statuscode: *mut i32) -> Result<(), Error>;
fn SetStatusCode(&self, statuscode: i32) -> Result<(), Error>;
fn ReasonPhrase(&self, reasonphrase: *mut PWSTR) -> Result<(), Error>;
fn SetReasonPhrase(&self, reasonphrase: &PCWSTR) -> Result<(), Error>;
}
Required Methods§
fn Content(&self) -> Result<IStream, Error>
fn SetContent(&self, content: Option<&IStream>) -> Result<(), Error>
fn Headers(&self) -> Result<ICoreWebView2HttpResponseHeaders, Error>
fn StatusCode(&self, statuscode: *mut i32) -> Result<(), Error>
fn SetStatusCode(&self, statuscode: i32) -> Result<(), Error>
fn ReasonPhrase(&self, reasonphrase: *mut PWSTR) -> Result<(), Error>
fn SetReasonPhrase(&self, reasonphrase: &PCWSTR) -> Result<(), Error>
Object Safety§
This trait is not object safe.