Trait ITransferAdviseSink_Impl
pub trait ITransferAdviseSink_Impl: IUnknownImpl {
// Required methods
fn UpdateProgress(
&self,
ullsizecurrent: u64,
ullsizetotal: u64,
nfilescurrent: i32,
nfilestotal: i32,
nfolderscurrent: i32,
nfolderstotal: i32,
) -> Result<()>;
fn UpdateTransferState(&self, ts: u32) -> Result<()>;
fn ConfirmOverwrite(
&self,
psisource: Ref<'_, IShellItem>,
psidestparent: Ref<'_, IShellItem>,
pszname: &PCWSTR,
) -> Result<()>;
fn ConfirmEncryptionLoss(
&self,
psisource: Ref<'_, IShellItem>,
) -> Result<()>;
fn FileFailure(
&self,
psi: Ref<'_, IShellItem>,
pszitem: &PCWSTR,
hrerror: HRESULT,
pszrename: PWSTR,
cchrename: u32,
) -> Result<()>;
fn SubStreamFailure(
&self,
psi: Ref<'_, IShellItem>,
pszstreamname: &PCWSTR,
hrerror: HRESULT,
) -> Result<()>;
fn PropertyFailure(
&self,
psi: Ref<'_, IShellItem>,
pkey: *const PROPERTYKEY,
hrerror: HRESULT,
) -> Result<()>;
}
Required Methods§
fn UpdateProgress( &self, ullsizecurrent: u64, ullsizetotal: u64, nfilescurrent: i32, nfilestotal: i32, nfolderscurrent: i32, nfolderstotal: i32, ) -> Result<()>
fn UpdateTransferState(&self, ts: u32) -> Result<()>
fn ConfirmOverwrite( &self, psisource: Ref<'_, IShellItem>, psidestparent: Ref<'_, IShellItem>, pszname: &PCWSTR, ) -> Result<()>
fn ConfirmEncryptionLoss(&self, psisource: Ref<'_, IShellItem>) -> Result<()>
fn FileFailure( &self, psi: Ref<'_, IShellItem>, pszitem: &PCWSTR, hrerror: HRESULT, pszrename: PWSTR, cchrename: u32, ) -> Result<()>
fn SubStreamFailure( &self, psi: Ref<'_, IShellItem>, pszstreamname: &PCWSTR, hrerror: HRESULT, ) -> Result<()>
fn PropertyFailure( &self, psi: Ref<'_, IShellItem>, pkey: *const PROPERTYKEY, hrerror: HRESULT, ) -> 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.