Trait IDataCollectorSet_Impl
pub trait IDataCollectorSet_Impl: IDispatch_Impl {
Show 60 methods
// Required methods
fn DataCollectors(&self) -> Result<IDataCollectorCollection>;
fn Duration(&self) -> Result<u32>;
fn SetDuration(&self, seconds: u32) -> Result<()>;
fn Description(&self) -> Result<BSTR>;
fn SetDescription(&self, description: &BSTR) -> Result<()>;
fn DescriptionUnresolved(&self) -> Result<BSTR>;
fn DisplayName(&self) -> Result<BSTR>;
fn SetDisplayName(&self, displayname: &BSTR) -> Result<()>;
fn DisplayNameUnresolved(&self) -> Result<BSTR>;
fn Keywords(&self) -> Result<*mut SAFEARRAY>;
fn SetKeywords(&self, keywords: *const SAFEARRAY) -> Result<()>;
fn LatestOutputLocation(&self) -> Result<BSTR>;
fn SetLatestOutputLocation(&self, path: &BSTR) -> Result<()>;
fn Name(&self) -> Result<BSTR>;
fn OutputLocation(&self) -> Result<BSTR>;
fn RootPath(&self) -> Result<BSTR>;
fn SetRootPath(&self, folder: &BSTR) -> Result<()>;
fn Segment(&self) -> Result<VARIANT_BOOL>;
fn SetSegment(&self, segment: VARIANT_BOOL) -> Result<()>;
fn SegmentMaxDuration(&self) -> Result<u32>;
fn SetSegmentMaxDuration(&self, seconds: u32) -> Result<()>;
fn SegmentMaxSize(&self) -> Result<u32>;
fn SetSegmentMaxSize(&self, size: u32) -> Result<()>;
fn SerialNumber(&self) -> Result<u32>;
fn SetSerialNumber(&self, index: u32) -> Result<()>;
fn Server(&self) -> Result<BSTR>;
fn Status(&self) -> Result<DataCollectorSetStatus>;
fn Subdirectory(&self) -> Result<BSTR>;
fn SetSubdirectory(&self, folder: &BSTR) -> Result<()>;
fn SubdirectoryFormat(&self) -> Result<AutoPathFormat>;
fn SetSubdirectoryFormat(&self, format: AutoPathFormat) -> Result<()>;
fn SubdirectoryFormatPattern(&self) -> Result<BSTR>;
fn SetSubdirectoryFormatPattern(&self, pattern: &BSTR) -> Result<()>;
fn Task(&self) -> Result<BSTR>;
fn SetTask(&self, task: &BSTR) -> Result<()>;
fn TaskRunAsSelf(&self) -> Result<VARIANT_BOOL>;
fn SetTaskRunAsSelf(&self, runasself: VARIANT_BOOL) -> Result<()>;
fn TaskArguments(&self) -> Result<BSTR>;
fn SetTaskArguments(&self, task: &BSTR) -> Result<()>;
fn TaskUserTextArguments(&self) -> Result<BSTR>;
fn SetTaskUserTextArguments(&self, usertext: &BSTR) -> Result<()>;
fn Schedules(&self) -> Result<IScheduleCollection>;
fn SchedulesEnabled(&self) -> Result<VARIANT_BOOL>;
fn SetSchedulesEnabled(&self, enabled: VARIANT_BOOL) -> Result<()>;
fn UserAccount(&self) -> Result<BSTR>;
fn Xml(&self) -> Result<BSTR>;
fn Security(&self) -> Result<BSTR>;
fn SetSecurity(&self, bstrsecurity: &BSTR) -> Result<()>;
fn StopOnCompletion(&self) -> Result<VARIANT_BOOL>;
fn SetStopOnCompletion(&self, stop: VARIANT_BOOL) -> Result<()>;
fn DataManager(&self) -> Result<IDataManager>;
fn SetCredentials(&self, user: &BSTR, password: &BSTR) -> Result<()>;
fn Query(&self, name: &BSTR, server: &BSTR) -> Result<()>;
fn Commit(
&self,
name: &BSTR,
server: &BSTR,
mode: CommitMode,
) -> Result<IValueMap>;
fn Delete(&self) -> Result<()>;
fn Start(&self, synchronous: VARIANT_BOOL) -> Result<()>;
fn Stop(&self, synchronous: VARIANT_BOOL) -> Result<()>;
fn SetXml(&self, xml: &BSTR) -> Result<IValueMap>;
fn SetValue(&self, key: &BSTR, value: &BSTR) -> Result<()>;
fn GetValue(&self, key: &BSTR) -> Result<BSTR>;
}
Required Methods§
fn DataCollectors(&self) -> Result<IDataCollectorCollection>
fn Duration(&self) -> Result<u32>
fn SetDuration(&self, seconds: u32) -> Result<()>
fn Description(&self) -> Result<BSTR>
fn SetDescription(&self, description: &BSTR) -> Result<()>
fn DescriptionUnresolved(&self) -> Result<BSTR>
fn DisplayName(&self) -> Result<BSTR>
fn SetDisplayName(&self, displayname: &BSTR) -> Result<()>
fn DisplayNameUnresolved(&self) -> Result<BSTR>
fn Keywords(&self) -> Result<*mut SAFEARRAY>
fn SetKeywords(&self, keywords: *const SAFEARRAY) -> Result<()>
fn LatestOutputLocation(&self) -> Result<BSTR>
fn SetLatestOutputLocation(&self, path: &BSTR) -> Result<()>
fn Name(&self) -> Result<BSTR>
fn OutputLocation(&self) -> Result<BSTR>
fn RootPath(&self) -> Result<BSTR>
fn SetRootPath(&self, folder: &BSTR) -> Result<()>
fn Segment(&self) -> Result<VARIANT_BOOL>
fn SetSegment(&self, segment: VARIANT_BOOL) -> Result<()>
fn SegmentMaxDuration(&self) -> Result<u32>
fn SetSegmentMaxDuration(&self, seconds: u32) -> Result<()>
fn SegmentMaxSize(&self) -> Result<u32>
fn SetSegmentMaxSize(&self, size: u32) -> Result<()>
fn SerialNumber(&self) -> Result<u32>
fn SetSerialNumber(&self, index: u32) -> Result<()>
fn Server(&self) -> Result<BSTR>
fn Status(&self) -> Result<DataCollectorSetStatus>
fn Subdirectory(&self) -> Result<BSTR>
fn SetSubdirectory(&self, folder: &BSTR) -> Result<()>
fn SubdirectoryFormat(&self) -> Result<AutoPathFormat>
fn SetSubdirectoryFormat(&self, format: AutoPathFormat) -> Result<()>
fn SubdirectoryFormatPattern(&self) -> Result<BSTR>
fn SetSubdirectoryFormatPattern(&self, pattern: &BSTR) -> Result<()>
fn Task(&self) -> Result<BSTR>
fn SetTask(&self, task: &BSTR) -> Result<()>
fn TaskRunAsSelf(&self) -> Result<VARIANT_BOOL>
fn SetTaskRunAsSelf(&self, runasself: VARIANT_BOOL) -> Result<()>
fn TaskArguments(&self) -> Result<BSTR>
fn SetTaskArguments(&self, task: &BSTR) -> Result<()>
fn TaskUserTextArguments(&self) -> Result<BSTR>
fn SetTaskUserTextArguments(&self, usertext: &BSTR) -> Result<()>
fn Schedules(&self) -> Result<IScheduleCollection>
fn SchedulesEnabled(&self) -> Result<VARIANT_BOOL>
fn SetSchedulesEnabled(&self, enabled: VARIANT_BOOL) -> Result<()>
fn UserAccount(&self) -> Result<BSTR>
fn Xml(&self) -> Result<BSTR>
fn Security(&self) -> Result<BSTR>
fn SetSecurity(&self, bstrsecurity: &BSTR) -> Result<()>
fn StopOnCompletion(&self) -> Result<VARIANT_BOOL>
fn SetStopOnCompletion(&self, stop: VARIANT_BOOL) -> Result<()>
fn DataManager(&self) -> Result<IDataManager>
fn SetCredentials(&self, user: &BSTR, password: &BSTR) -> Result<()>
fn Query(&self, name: &BSTR, server: &BSTR) -> Result<()>
fn Commit( &self, name: &BSTR, server: &BSTR, mode: CommitMode, ) -> Result<IValueMap>
fn Delete(&self) -> Result<()>
fn Start(&self, synchronous: VARIANT_BOOL) -> Result<()>
fn Stop(&self, synchronous: VARIANT_BOOL) -> Result<()>
fn SetXml(&self, xml: &BSTR) -> Result<IValueMap>
fn SetValue(&self, key: &BSTR, value: &BSTR) -> Result<()>
fn GetValue(&self, key: &BSTR) -> Result<BSTR>
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.