Trait IWbemServices_Impl
pub trait IWbemServices_Impl: IUnknownImpl {
Show 23 methods
// Required methods
fn OpenNamespace(
&self,
strnamespace: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
ppworkingnamespace: OutRef<'_, IWbemServices>,
ppresult: OutRef<'_, IWbemCallResult>,
) -> Result<()>;
fn CancelAsyncCall(&self, psink: Ref<'_, IWbemObjectSink>) -> Result<()>;
fn QueryObjectSink(
&self,
lflags: WBEM_GENERIC_FLAG_TYPE,
) -> Result<IWbemObjectSink>;
fn GetObject(
&self,
strobjectpath: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
ppobject: OutRef<'_, IWbemClassObject>,
ppcallresult: OutRef<'_, IWbemCallResult>,
) -> Result<()>;
fn GetObjectAsync(
&self,
strobjectpath: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
presponsehandler: Ref<'_, IWbemObjectSink>,
) -> Result<()>;
fn PutClass(
&self,
pobject: Ref<'_, IWbemClassObject>,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
ppcallresult: OutRef<'_, IWbemCallResult>,
) -> Result<()>;
fn PutClassAsync(
&self,
pobject: Ref<'_, IWbemClassObject>,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
presponsehandler: Ref<'_, IWbemObjectSink>,
) -> Result<()>;
fn DeleteClass(
&self,
strclass: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
ppcallresult: OutRef<'_, IWbemCallResult>,
) -> Result<()>;
fn DeleteClassAsync(
&self,
strclass: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
presponsehandler: Ref<'_, IWbemObjectSink>,
) -> Result<()>;
fn CreateClassEnum(
&self,
strsuperclass: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
) -> Result<IEnumWbemClassObject>;
fn CreateClassEnumAsync(
&self,
strsuperclass: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
presponsehandler: Ref<'_, IWbemObjectSink>,
) -> Result<()>;
fn PutInstance(
&self,
pinst: Ref<'_, IWbemClassObject>,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
ppcallresult: OutRef<'_, IWbemCallResult>,
) -> Result<()>;
fn PutInstanceAsync(
&self,
pinst: Ref<'_, IWbemClassObject>,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
presponsehandler: Ref<'_, IWbemObjectSink>,
) -> Result<()>;
fn DeleteInstance(
&self,
strobjectpath: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
ppcallresult: OutRef<'_, IWbemCallResult>,
) -> Result<()>;
fn DeleteInstanceAsync(
&self,
strobjectpath: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
presponsehandler: Ref<'_, IWbemObjectSink>,
) -> Result<()>;
fn CreateInstanceEnum(
&self,
strfilter: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
) -> Result<IEnumWbemClassObject>;
fn CreateInstanceEnumAsync(
&self,
strfilter: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
presponsehandler: Ref<'_, IWbemObjectSink>,
) -> Result<()>;
fn ExecQuery(
&self,
strquerylanguage: &BSTR,
strquery: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
) -> Result<IEnumWbemClassObject>;
fn ExecQueryAsync(
&self,
strquerylanguage: &BSTR,
strquery: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
presponsehandler: Ref<'_, IWbemObjectSink>,
) -> Result<()>;
fn ExecNotificationQuery(
&self,
strquerylanguage: &BSTR,
strquery: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
) -> Result<IEnumWbemClassObject>;
fn ExecNotificationQueryAsync(
&self,
strquerylanguage: &BSTR,
strquery: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
presponsehandler: Ref<'_, IWbemObjectSink>,
) -> Result<()>;
fn ExecMethod(
&self,
strobjectpath: &BSTR,
strmethodname: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
pinparams: Ref<'_, IWbemClassObject>,
ppoutparams: OutRef<'_, IWbemClassObject>,
ppcallresult: OutRef<'_, IWbemCallResult>,
) -> Result<()>;
fn ExecMethodAsync(
&self,
strobjectpath: &BSTR,
strmethodname: &BSTR,
lflags: WBEM_GENERIC_FLAG_TYPE,
pctx: Ref<'_, IWbemContext>,
pinparams: Ref<'_, IWbemClassObject>,
presponsehandler: Ref<'_, IWbemObjectSink>,
) -> Result<()>;
}
Required Methods§
fn OpenNamespace( &self, strnamespace: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, ppworkingnamespace: OutRef<'_, IWbemServices>, ppresult: OutRef<'_, IWbemCallResult>, ) -> Result<()>
fn CancelAsyncCall(&self, psink: Ref<'_, IWbemObjectSink>) -> Result<()>
fn QueryObjectSink( &self, lflags: WBEM_GENERIC_FLAG_TYPE, ) -> Result<IWbemObjectSink>
fn GetObject( &self, strobjectpath: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, ppobject: OutRef<'_, IWbemClassObject>, ppcallresult: OutRef<'_, IWbemCallResult>, ) -> Result<()>
fn GetObjectAsync( &self, strobjectpath: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, presponsehandler: Ref<'_, IWbemObjectSink>, ) -> Result<()>
fn PutClass( &self, pobject: Ref<'_, IWbemClassObject>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, ppcallresult: OutRef<'_, IWbemCallResult>, ) -> Result<()>
fn PutClassAsync( &self, pobject: Ref<'_, IWbemClassObject>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, presponsehandler: Ref<'_, IWbemObjectSink>, ) -> Result<()>
fn DeleteClass( &self, strclass: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, ppcallresult: OutRef<'_, IWbemCallResult>, ) -> Result<()>
fn DeleteClassAsync( &self, strclass: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, presponsehandler: Ref<'_, IWbemObjectSink>, ) -> Result<()>
fn CreateClassEnum( &self, strsuperclass: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, ) -> Result<IEnumWbemClassObject>
fn CreateClassEnumAsync( &self, strsuperclass: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, presponsehandler: Ref<'_, IWbemObjectSink>, ) -> Result<()>
fn PutInstance( &self, pinst: Ref<'_, IWbemClassObject>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, ppcallresult: OutRef<'_, IWbemCallResult>, ) -> Result<()>
fn PutInstanceAsync( &self, pinst: Ref<'_, IWbemClassObject>, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, presponsehandler: Ref<'_, IWbemObjectSink>, ) -> Result<()>
fn DeleteInstance( &self, strobjectpath: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, ppcallresult: OutRef<'_, IWbemCallResult>, ) -> Result<()>
fn DeleteInstanceAsync( &self, strobjectpath: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, presponsehandler: Ref<'_, IWbemObjectSink>, ) -> Result<()>
fn CreateInstanceEnum( &self, strfilter: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, ) -> Result<IEnumWbemClassObject>
fn CreateInstanceEnumAsync( &self, strfilter: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, presponsehandler: Ref<'_, IWbemObjectSink>, ) -> Result<()>
fn ExecQuery( &self, strquerylanguage: &BSTR, strquery: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, ) -> Result<IEnumWbemClassObject>
fn ExecQueryAsync( &self, strquerylanguage: &BSTR, strquery: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, presponsehandler: Ref<'_, IWbemObjectSink>, ) -> Result<()>
fn ExecNotificationQuery( &self, strquerylanguage: &BSTR, strquery: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, ) -> Result<IEnumWbemClassObject>
fn ExecNotificationQueryAsync( &self, strquerylanguage: &BSTR, strquery: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, presponsehandler: Ref<'_, IWbemObjectSink>, ) -> Result<()>
fn ExecMethod( &self, strobjectpath: &BSTR, strmethodname: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, pinparams: Ref<'_, IWbemClassObject>, ppoutparams: OutRef<'_, IWbemClassObject>, ppcallresult: OutRef<'_, IWbemCallResult>, ) -> Result<()>
fn ExecMethodAsync( &self, strobjectpath: &BSTR, strmethodname: &BSTR, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: Ref<'_, IWbemContext>, pinparams: Ref<'_, IWbemClassObject>, presponsehandler: Ref<'_, IWbemObjectSink>, ) -> 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.