Trait IUpdateDownloader_Impl
pub trait IUpdateDownloader_Impl: IDispatch_Impl {
// Required methods
fn ClientApplicationID(&self) -> Result<BSTR>;
fn SetClientApplicationID(&self, value: &BSTR) -> Result<()>;
fn IsForced(&self) -> Result<VARIANT_BOOL>;
fn SetIsForced(&self, value: VARIANT_BOOL) -> Result<()>;
fn Priority(&self) -> Result<DownloadPriority>;
fn SetPriority(&self, value: DownloadPriority) -> Result<()>;
fn Updates(&self) -> Result<IUpdateCollection>;
fn SetUpdates(&self, value: Ref<'_, IUpdateCollection>) -> Result<()>;
fn BeginDownload(
&self,
onprogresschanged: Ref<'_, IUnknown>,
oncompleted: Ref<'_, IUnknown>,
state: &VARIANT,
) -> Result<IDownloadJob>;
fn Download(&self) -> Result<IDownloadResult>;
fn EndDownload(
&self,
value: Ref<'_, IDownloadJob>,
) -> Result<IDownloadResult>;
}
Required Methods§
fn ClientApplicationID(&self) -> Result<BSTR>
fn SetClientApplicationID(&self, value: &BSTR) -> Result<()>
fn IsForced(&self) -> Result<VARIANT_BOOL>
fn SetIsForced(&self, value: VARIANT_BOOL) -> Result<()>
fn Priority(&self) -> Result<DownloadPriority>
fn SetPriority(&self, value: DownloadPriority) -> Result<()>
fn Updates(&self) -> Result<IUpdateCollection>
fn SetUpdates(&self, value: Ref<'_, IUpdateCollection>) -> Result<()>
fn BeginDownload( &self, onprogresschanged: Ref<'_, IUnknown>, oncompleted: Ref<'_, IUnknown>, state: &VARIANT, ) -> Result<IDownloadJob>
fn Download(&self) -> Result<IDownloadResult>
fn EndDownload(&self, value: Ref<'_, IDownloadJob>) -> Result<IDownloadResult>
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.