Trait IBackgroundCopyError_Impl
pub trait IBackgroundCopyError_Impl: IUnknownImpl {
// Required methods
fn GetError(
&self,
pcontext: *mut BG_ERROR_CONTEXT,
pcode: *mut HRESULT,
) -> Result<()>;
fn GetFile(&self) -> Result<IBackgroundCopyFile>;
fn GetErrorDescription(&self, languageid: u32) -> Result<PWSTR>;
fn GetErrorContextDescription(&self, languageid: u32) -> Result<PWSTR>;
fn GetProtocol(&self) -> Result<PWSTR>;
}
Required Methods§
fn GetError( &self, pcontext: *mut BG_ERROR_CONTEXT, pcode: *mut HRESULT, ) -> Result<()>
fn GetFile(&self) -> Result<IBackgroundCopyFile>
fn GetErrorDescription(&self, languageid: u32) -> Result<PWSTR>
fn GetErrorContextDescription(&self, languageid: u32) -> Result<PWSTR>
fn GetProtocol(&self) -> Result<PWSTR>
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.