pub trait ICoreWebView2_3_Impl: ICoreWebView2_2_Impl {
// Required methods
fn TrySuspend(
&self,
handler: Ref<'_, ICoreWebView2TrySuspendCompletedHandler>,
) -> Result<(), Error>;
fn Resume(&self) -> Result<(), Error>;
fn IsSuspended(&self, issuspended: *mut BOOL) -> Result<(), Error>;
fn SetVirtualHostNameToFolderMapping(
&self,
hostname: &PCWSTR,
folderpath: &PCWSTR,
accesskind: COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND,
) -> Result<(), Error>;
fn ClearVirtualHostNameToFolderMapping(
&self,
hostname: &PCWSTR,
) -> Result<(), Error>;
}
Required Methods§
fn TrySuspend( &self, handler: Ref<'_, ICoreWebView2TrySuspendCompletedHandler>, ) -> Result<(), Error>
fn Resume(&self) -> Result<(), Error>
fn IsSuspended(&self, issuspended: *mut BOOL) -> Result<(), Error>
fn SetVirtualHostNameToFolderMapping( &self, hostname: &PCWSTR, folderpath: &PCWSTR, accesskind: COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND, ) -> Result<(), Error>
fn ClearVirtualHostNameToFolderMapping( &self, hostname: &PCWSTR, ) -> 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.