windows::Win32::System::TaskScheduler

Trait IRunningTask_Impl

pub trait IRunningTask_Impl: IDispatch_Impl {
    // Required methods
    fn Name(&self) -> Result<BSTR>;
    fn InstanceGuid(&self) -> Result<BSTR>;
    fn Path(&self) -> Result<BSTR>;
    fn State(&self) -> Result<TASK_STATE>;
    fn CurrentAction(&self) -> Result<BSTR>;
    fn Stop(&self) -> Result<()>;
    fn Refresh(&self) -> Result<()>;
    fn EnginePID(&self) -> Result<u32>;
}

Required Methods§

fn Name(&self) -> Result<BSTR>

fn InstanceGuid(&self) -> Result<BSTR>

fn Path(&self) -> Result<BSTR>

fn State(&self) -> Result<TASK_STATE>

fn CurrentAction(&self) -> Result<BSTR>

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

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

fn EnginePID(&self) -> Result<u32>

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§