Trait winsafe::prelude::taskschd_IRegisteredTask

source ·
pub trait taskschd_IRegisteredTask: oleaut_IDispatch {
    // Provided methods
    fn get_Definition(&self) -> HrResult<ITaskDefinition> { ... }
    fn get_Enabled(&self) -> HrResult<bool> { ... }
    fn get_LastRunTime(&self) -> HrResult<f64> { ... }
    fn get_LastTaskResult(&self) -> HrResult<i32> { ... }
    fn get_Name(&self) -> HrResult<String> { ... }
    fn get_NextRunTime(&self) -> HrResult<f64> { ... }
    fn get_NumberOfMissedRuns(&self) -> HrResult<i32> { ... }
    fn get_Path(&self) -> HrResult<String> { ... }
    fn get_State(&self) -> HrResult<TASK_STATE> { ... }
    fn get_Xml(&self) -> HrResult<String> { ... }
    fn put_Enabled(&self, enabled: bool) -> HrResult<()> { ... }
    fn Stop(&self) -> HrResult<()> { ... }
}
Available on crate features kernel and taskschd only.
Expand description

This trait is enabled with the taskschd feature, and provides methods for IRegisteredTask.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§