windows::Win32::System::ComponentServices

Trait IServiceActivity_Impl

pub trait IServiceActivity_Impl: IUnknownImpl {
    // Required methods
    fn SynchronousCall(
        &self,
        piservicecall: Ref<'_, IServiceCall>,
    ) -> Result<()>;
    fn AsynchronousCall(
        &self,
        piservicecall: Ref<'_, IServiceCall>,
    ) -> Result<()>;
    fn BindToCurrentThread(&self) -> Result<()>;
    fn UnbindFromThread(&self) -> Result<()>;
}

Required Methods§

fn SynchronousCall(&self, piservicecall: Ref<'_, IServiceCall>) -> Result<()>

fn AsynchronousCall(&self, piservicecall: Ref<'_, IServiceCall>) -> Result<()>

fn BindToCurrentThread(&self) -> Result<()>

fn UnbindFromThread(&self) -> 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.

Implementors§