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