pub trait ICoreWebView2CustomSchemeRegistration_Impl: IUnknownImpl {
// Required methods
fn SchemeName(&self, schemename: *mut PWSTR) -> Result<(), Error>;
fn TreatAsSecure(&self, treatassecure: *mut BOOL) -> Result<(), Error>;
fn SetTreatAsSecure(&self, value: BOOL) -> Result<(), Error>;
fn GetAllowedOrigins(
&self,
allowedoriginscount: *mut u32,
allowedorigins: *mut *mut PWSTR,
) -> Result<(), Error>;
fn SetAllowedOrigins(
&self,
allowedoriginscount: u32,
allowedorigins: *const PCWSTR,
) -> Result<(), Error>;
fn HasAuthorityComponent(
&self,
hasauthoritycomponent: *mut BOOL,
) -> Result<(), Error>;
fn SetHasAuthorityComponent(
&self,
hasauthoritycomponent: BOOL,
) -> Result<(), Error>;
}
Required Methods§
fn SchemeName(&self, schemename: *mut PWSTR) -> Result<(), Error>
fn TreatAsSecure(&self, treatassecure: *mut BOOL) -> Result<(), Error>
fn SetTreatAsSecure(&self, value: BOOL) -> Result<(), Error>
fn GetAllowedOrigins( &self, allowedoriginscount: *mut u32, allowedorigins: *mut *mut PWSTR, ) -> Result<(), Error>
fn SetAllowedOrigins( &self, allowedoriginscount: u32, allowedorigins: *const PCWSTR, ) -> Result<(), Error>
fn HasAuthorityComponent( &self, hasauthoritycomponent: *mut BOOL, ) -> Result<(), Error>
fn SetHasAuthorityComponent( &self, hasauthoritycomponent: BOOL, ) -> Result<(), 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.