windows::Win32::System::TaskScheduler

Trait ITaskHandler_Impl

pub trait ITaskHandler_Impl: IUnknownImpl {
    // Required methods
    fn Start(
        &self,
        phandlerservices: Ref<'_, IUnknown>,
        data: &BSTR,
    ) -> Result<()>;
    fn Stop(&self) -> Result<HRESULT>;
    fn Pause(&self) -> Result<()>;
    fn Resume(&self) -> Result<()>;
}

Required Methods§

fn Start(&self, phandlerservices: Ref<'_, IUnknown>, data: &BSTR) -> Result<()>

fn Stop(&self) -> Result<HRESULT>

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

fn Resume(&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§