Trait IRTCClientPresence_Impl
pub trait IRTCClientPresence_Impl: IUnknownImpl {
Show 18 methods
// Required methods
fn EnablePresence(
&self,
fusestorage: VARIANT_BOOL,
varstorage: &VARIANT,
) -> Result<()>;
fn Export(&self, varstorage: &VARIANT) -> Result<()>;
fn Import(
&self,
varstorage: &VARIANT,
freplaceall: VARIANT_BOOL,
) -> Result<()>;
fn EnumerateBuddies(&self) -> Result<IRTCEnumBuddies>;
fn Buddies(&self) -> Result<IRTCCollection>;
fn get_Buddy(&self, bstrpresentityuri: &BSTR) -> Result<IRTCBuddy>;
fn AddBuddy(
&self,
bstrpresentityuri: &BSTR,
bstrusername: &BSTR,
bstrdata: &BSTR,
fpersistent: VARIANT_BOOL,
pprofile: Ref<'_, IRTCProfile>,
lflags: i32,
) -> Result<IRTCBuddy>;
fn RemoveBuddy(&self, pbuddy: Ref<'_, IRTCBuddy>) -> Result<()>;
fn EnumerateWatchers(&self) -> Result<IRTCEnumWatchers>;
fn Watchers(&self) -> Result<IRTCCollection>;
fn get_Watcher(&self, bstrpresentityuri: &BSTR) -> Result<IRTCWatcher>;
fn AddWatcher(
&self,
bstrpresentityuri: &BSTR,
bstrusername: &BSTR,
bstrdata: &BSTR,
fblocked: VARIANT_BOOL,
fpersistent: VARIANT_BOOL,
) -> Result<IRTCWatcher>;
fn RemoveWatcher(&self, pwatcher: Ref<'_, IRTCWatcher>) -> Result<()>;
fn SetLocalPresenceInfo(
&self,
enstatus: RTC_PRESENCE_STATUS,
bstrnotes: &BSTR,
) -> Result<()>;
fn OfferWatcherMode(&self) -> Result<RTC_OFFER_WATCHER_MODE>;
fn SetOfferWatcherMode(&self, enmode: RTC_OFFER_WATCHER_MODE) -> Result<()>;
fn PrivacyMode(&self) -> Result<RTC_PRIVACY_MODE>;
fn SetPrivacyMode(&self, enmode: RTC_PRIVACY_MODE) -> Result<()>;
}
Required Methods§
fn EnablePresence( &self, fusestorage: VARIANT_BOOL, varstorage: &VARIANT, ) -> Result<()>
fn Export(&self, varstorage: &VARIANT) -> Result<()>
fn Import(&self, varstorage: &VARIANT, freplaceall: VARIANT_BOOL) -> Result<()>
fn EnumerateBuddies(&self) -> Result<IRTCEnumBuddies>
fn Buddies(&self) -> Result<IRTCCollection>
fn get_Buddy(&self, bstrpresentityuri: &BSTR) -> Result<IRTCBuddy>
fn AddBuddy( &self, bstrpresentityuri: &BSTR, bstrusername: &BSTR, bstrdata: &BSTR, fpersistent: VARIANT_BOOL, pprofile: Ref<'_, IRTCProfile>, lflags: i32, ) -> Result<IRTCBuddy>
fn RemoveBuddy(&self, pbuddy: Ref<'_, IRTCBuddy>) -> Result<()>
fn EnumerateWatchers(&self) -> Result<IRTCEnumWatchers>
fn Watchers(&self) -> Result<IRTCCollection>
fn get_Watcher(&self, bstrpresentityuri: &BSTR) -> Result<IRTCWatcher>
fn AddWatcher( &self, bstrpresentityuri: &BSTR, bstrusername: &BSTR, bstrdata: &BSTR, fblocked: VARIANT_BOOL, fpersistent: VARIANT_BOOL, ) -> Result<IRTCWatcher>
fn RemoveWatcher(&self, pwatcher: Ref<'_, IRTCWatcher>) -> Result<()>
fn SetLocalPresenceInfo( &self, enstatus: RTC_PRESENCE_STATUS, bstrnotes: &BSTR, ) -> Result<()>
fn OfferWatcherMode(&self) -> Result<RTC_OFFER_WATCHER_MODE>
fn SetOfferWatcherMode(&self, enmode: RTC_OFFER_WATCHER_MODE) -> Result<()>
fn PrivacyMode(&self) -> Result<RTC_PRIVACY_MODE>
fn SetPrivacyMode(&self, enmode: RTC_PRIVACY_MODE) -> 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.