Trait ISystemMonitor_Impl
pub trait ISystemMonitor_Impl: IUnknownImpl {
Show 76 methods
// Required methods
fn Appearance(&self) -> Result<i32>;
fn SetAppearance(&self, iappearance: i32) -> Result<()>;
fn BackColor(&self) -> Result<u32>;
fn SetBackColor(&self, color: u32) -> Result<()>;
fn BorderStyle(&self) -> Result<i32>;
fn SetBorderStyle(&self, iborderstyle: i32) -> Result<()>;
fn ForeColor(&self) -> Result<u32>;
fn SetForeColor(&self, color: u32) -> Result<()>;
fn Font(&self) -> Result<IFontDisp>;
fn putref_Font(&self, pfont: Ref<'_, IFontDisp>) -> Result<()>;
fn Counters(&self) -> Result<ICounters>;
fn SetShowVerticalGrid(&self, bstate: VARIANT_BOOL) -> Result<()>;
fn ShowVerticalGrid(&self) -> Result<VARIANT_BOOL>;
fn SetShowHorizontalGrid(&self, bstate: VARIANT_BOOL) -> Result<()>;
fn ShowHorizontalGrid(&self) -> Result<VARIANT_BOOL>;
fn SetShowLegend(&self, bstate: VARIANT_BOOL) -> Result<()>;
fn ShowLegend(&self) -> Result<VARIANT_BOOL>;
fn SetShowScaleLabels(&self, bstate: VARIANT_BOOL) -> Result<()>;
fn ShowScaleLabels(&self) -> Result<VARIANT_BOOL>;
fn SetShowValueBar(&self, bstate: VARIANT_BOOL) -> Result<()>;
fn ShowValueBar(&self) -> Result<VARIANT_BOOL>;
fn SetMaximumScale(&self, ivalue: i32) -> Result<()>;
fn MaximumScale(&self) -> Result<i32>;
fn SetMinimumScale(&self, ivalue: i32) -> Result<()>;
fn MinimumScale(&self) -> Result<i32>;
fn SetUpdateInterval(&self, fvalue: f32) -> Result<()>;
fn UpdateInterval(&self) -> Result<f32>;
fn SetDisplayType(&self, edisplaytype: DisplayTypeConstants) -> Result<()>;
fn DisplayType(&self) -> Result<DisplayTypeConstants>;
fn SetManualUpdate(&self, bstate: VARIANT_BOOL) -> Result<()>;
fn ManualUpdate(&self) -> Result<VARIANT_BOOL>;
fn SetGraphTitle(&self, bstitle: &BSTR) -> Result<()>;
fn GraphTitle(&self) -> Result<BSTR>;
fn SetYAxisLabel(&self, bstitle: &BSTR) -> Result<()>;
fn YAxisLabel(&self) -> Result<BSTR>;
fn CollectSample(&self) -> Result<()>;
fn UpdateGraph(&self) -> Result<()>;
fn BrowseCounters(&self) -> Result<()>;
fn DisplayProperties(&self) -> Result<()>;
fn Counter(&self, iindex: i32) -> Result<ICounterItem>;
fn AddCounter(&self, bspath: &BSTR) -> Result<ICounterItem>;
fn DeleteCounter(&self, pctr: Ref<'_, ICounterItem>) -> Result<()>;
fn BackColorCtl(&self) -> Result<u32>;
fn SetBackColorCtl(&self, color: u32) -> Result<()>;
fn SetLogFileName(&self, bsfilename: &BSTR) -> Result<()>;
fn LogFileName(&self) -> Result<BSTR>;
fn SetLogViewStart(&self, starttime: f64) -> Result<()>;
fn LogViewStart(&self) -> Result<f64>;
fn SetLogViewStop(&self, stoptime: f64) -> Result<()>;
fn LogViewStop(&self) -> Result<f64>;
fn GridColor(&self) -> Result<u32>;
fn SetGridColor(&self, color: u32) -> Result<()>;
fn TimeBarColor(&self) -> Result<u32>;
fn SetTimeBarColor(&self, color: u32) -> Result<()>;
fn Highlight(&self) -> Result<VARIANT_BOOL>;
fn SetHighlight(&self, bstate: VARIANT_BOOL) -> Result<()>;
fn ShowToolbar(&self) -> Result<VARIANT_BOOL>;
fn SetShowToolbar(&self, bstate: VARIANT_BOOL) -> Result<()>;
fn Paste(&self) -> Result<()>;
fn Copy(&self) -> Result<()>;
fn Reset(&self) -> Result<()>;
fn SetReadOnly(&self, bstate: VARIANT_BOOL) -> Result<()>;
fn ReadOnly(&self) -> Result<VARIANT_BOOL>;
fn SetReportValueType(
&self,
ereportvaluetype: ReportValueTypeConstants,
) -> Result<()>;
fn ReportValueType(&self) -> Result<ReportValueTypeConstants>;
fn SetMonitorDuplicateInstances(&self, bstate: VARIANT_BOOL) -> Result<()>;
fn MonitorDuplicateInstances(&self) -> Result<VARIANT_BOOL>;
fn SetDisplayFilter(&self, ivalue: i32) -> Result<()>;
fn DisplayFilter(&self) -> Result<i32>;
fn LogFiles(&self) -> Result<ILogFiles>;
fn SetDataSourceType(
&self,
edatasourcetype: DataSourceTypeConstants,
) -> Result<()>;
fn DataSourceType(&self) -> Result<DataSourceTypeConstants>;
fn SetSqlDsnName(&self, bssqldsnname: &BSTR) -> Result<()>;
fn SqlDsnName(&self) -> Result<BSTR>;
fn SetSqlLogSetName(&self, bssqllogsetname: &BSTR) -> Result<()>;
fn SqlLogSetName(&self) -> Result<BSTR>;
}
Required Methods§
fn Appearance(&self) -> Result<i32>
fn SetAppearance(&self, iappearance: i32) -> Result<()>
fn BackColor(&self) -> Result<u32>
fn SetBackColor(&self, color: u32) -> Result<()>
fn BorderStyle(&self) -> Result<i32>
fn SetBorderStyle(&self, iborderstyle: i32) -> Result<()>
fn ForeColor(&self) -> Result<u32>
fn SetForeColor(&self, color: u32) -> Result<()>
fn Font(&self) -> Result<IFontDisp>
fn putref_Font(&self, pfont: Ref<'_, IFontDisp>) -> Result<()>
fn Counters(&self) -> Result<ICounters>
fn SetShowVerticalGrid(&self, bstate: VARIANT_BOOL) -> Result<()>
fn ShowVerticalGrid(&self) -> Result<VARIANT_BOOL>
fn SetShowHorizontalGrid(&self, bstate: VARIANT_BOOL) -> Result<()>
fn ShowHorizontalGrid(&self) -> Result<VARIANT_BOOL>
fn SetShowLegend(&self, bstate: VARIANT_BOOL) -> Result<()>
fn ShowLegend(&self) -> Result<VARIANT_BOOL>
fn SetShowScaleLabels(&self, bstate: VARIANT_BOOL) -> Result<()>
fn ShowScaleLabels(&self) -> Result<VARIANT_BOOL>
fn SetShowValueBar(&self, bstate: VARIANT_BOOL) -> Result<()>
fn ShowValueBar(&self) -> Result<VARIANT_BOOL>
fn SetMaximumScale(&self, ivalue: i32) -> Result<()>
fn MaximumScale(&self) -> Result<i32>
fn SetMinimumScale(&self, ivalue: i32) -> Result<()>
fn MinimumScale(&self) -> Result<i32>
fn SetUpdateInterval(&self, fvalue: f32) -> Result<()>
fn UpdateInterval(&self) -> Result<f32>
fn SetDisplayType(&self, edisplaytype: DisplayTypeConstants) -> Result<()>
fn DisplayType(&self) -> Result<DisplayTypeConstants>
fn SetManualUpdate(&self, bstate: VARIANT_BOOL) -> Result<()>
fn ManualUpdate(&self) -> Result<VARIANT_BOOL>
fn SetGraphTitle(&self, bstitle: &BSTR) -> Result<()>
fn GraphTitle(&self) -> Result<BSTR>
fn SetYAxisLabel(&self, bstitle: &BSTR) -> Result<()>
fn YAxisLabel(&self) -> Result<BSTR>
fn CollectSample(&self) -> Result<()>
fn UpdateGraph(&self) -> Result<()>
fn BrowseCounters(&self) -> Result<()>
fn DisplayProperties(&self) -> Result<()>
fn Counter(&self, iindex: i32) -> Result<ICounterItem>
fn AddCounter(&self, bspath: &BSTR) -> Result<ICounterItem>
fn DeleteCounter(&self, pctr: Ref<'_, ICounterItem>) -> Result<()>
fn BackColorCtl(&self) -> Result<u32>
fn SetBackColorCtl(&self, color: u32) -> Result<()>
fn SetLogFileName(&self, bsfilename: &BSTR) -> Result<()>
fn LogFileName(&self) -> Result<BSTR>
fn SetLogViewStart(&self, starttime: f64) -> Result<()>
fn LogViewStart(&self) -> Result<f64>
fn SetLogViewStop(&self, stoptime: f64) -> Result<()>
fn LogViewStop(&self) -> Result<f64>
fn GridColor(&self) -> Result<u32>
fn SetGridColor(&self, color: u32) -> Result<()>
fn TimeBarColor(&self) -> Result<u32>
fn SetTimeBarColor(&self, color: u32) -> Result<()>
fn Highlight(&self) -> Result<VARIANT_BOOL>
fn SetHighlight(&self, bstate: VARIANT_BOOL) -> Result<()>
fn ShowToolbar(&self) -> Result<VARIANT_BOOL>
fn SetShowToolbar(&self, bstate: VARIANT_BOOL) -> Result<()>
fn Paste(&self) -> Result<()>
fn Copy(&self) -> Result<()>
fn Reset(&self) -> Result<()>
fn SetReadOnly(&self, bstate: VARIANT_BOOL) -> Result<()>
fn ReadOnly(&self) -> Result<VARIANT_BOOL>
fn SetReportValueType( &self, ereportvaluetype: ReportValueTypeConstants, ) -> Result<()>
fn ReportValueType(&self) -> Result<ReportValueTypeConstants>
fn SetMonitorDuplicateInstances(&self, bstate: VARIANT_BOOL) -> Result<()>
fn MonitorDuplicateInstances(&self) -> Result<VARIANT_BOOL>
fn SetDisplayFilter(&self, ivalue: i32) -> Result<()>
fn DisplayFilter(&self) -> Result<i32>
fn LogFiles(&self) -> Result<ILogFiles>
fn SetDataSourceType( &self, edatasourcetype: DataSourceTypeConstants, ) -> Result<()>
fn DataSourceType(&self) -> Result<DataSourceTypeConstants>
fn SetSqlDsnName(&self, bssqldsnname: &BSTR) -> Result<()>
fn SqlDsnName(&self) -> Result<BSTR>
fn SetSqlLogSetName(&self, bssqllogsetname: &BSTR) -> Result<()>
fn SqlLogSetName(&self) -> 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.