Struct windows::ApplicationModel::Background::IBackgroundTrigger
pub struct IBackgroundTrigger(/* private fields */);
Methods from Deref<Target = IInspectable>§
pub fn GetRuntimeClassName(&self) -> Result<HSTRING, Error>
pub fn GetRuntimeClassName(&self) -> Result<HSTRING, Error>
Returns the canonical type name for the underlying object.
pub fn GetTrustLevel(&self) -> Result<i32, Error>
pub fn GetTrustLevel(&self) -> Result<i32, Error>
Gets the trust level of the current object.
Trait Implementations§
§impl CanInto<IBackgroundTrigger> for ActivitySensorTrigger
impl CanInto<IBackgroundTrigger> for ActivitySensorTrigger
§impl CanInto<IBackgroundTrigger> for AppBroadcastTrigger
impl CanInto<IBackgroundTrigger> for AppBroadcastTrigger
§impl CanInto<IBackgroundTrigger> for ApplicationTrigger
impl CanInto<IBackgroundTrigger> for ApplicationTrigger
§impl CanInto<IBackgroundTrigger> for AppointmentStoreNotificationTrigger
impl CanInto<IBackgroundTrigger> for AppointmentStoreNotificationTrigger
§impl CanInto<IBackgroundTrigger> for BluetoothLEAdvertisementPublisherTrigger
impl CanInto<IBackgroundTrigger> for BluetoothLEAdvertisementPublisherTrigger
§impl CanInto<IBackgroundTrigger> for BluetoothLEAdvertisementWatcherTrigger
impl CanInto<IBackgroundTrigger> for BluetoothLEAdvertisementWatcherTrigger
§impl CanInto<IBackgroundTrigger> for CachedFileUpdaterTrigger
impl CanInto<IBackgroundTrigger> for CachedFileUpdaterTrigger
§impl CanInto<IBackgroundTrigger> for ChatMessageNotificationTrigger
impl CanInto<IBackgroundTrigger> for ChatMessageNotificationTrigger
§impl CanInto<IBackgroundTrigger> for ChatMessageReceivedNotificationTrigger
impl CanInto<IBackgroundTrigger> for ChatMessageReceivedNotificationTrigger
§impl CanInto<IBackgroundTrigger> for CommunicationBlockingAppSetAsActiveTrigger
impl CanInto<IBackgroundTrigger> for CommunicationBlockingAppSetAsActiveTrigger
§impl CanInto<IBackgroundTrigger> for ContactStoreNotificationTrigger
impl CanInto<IBackgroundTrigger> for ContactStoreNotificationTrigger
§impl CanInto<IBackgroundTrigger> for ContentPrefetchTrigger
impl CanInto<IBackgroundTrigger> for ContentPrefetchTrigger
§impl CanInto<IBackgroundTrigger> for ConversationalAgentTrigger
impl CanInto<IBackgroundTrigger> for ConversationalAgentTrigger
§impl CanInto<IBackgroundTrigger> for CustomSystemEventTrigger
impl CanInto<IBackgroundTrigger> for CustomSystemEventTrigger
§impl CanInto<IBackgroundTrigger> for DeviceConnectionChangeTrigger
impl CanInto<IBackgroundTrigger> for DeviceConnectionChangeTrigger
§impl CanInto<IBackgroundTrigger> for DeviceManufacturerNotificationTrigger
impl CanInto<IBackgroundTrigger> for DeviceManufacturerNotificationTrigger
§impl CanInto<IBackgroundTrigger> for DeviceServicingTrigger
impl CanInto<IBackgroundTrigger> for DeviceServicingTrigger
§impl CanInto<IBackgroundTrigger> for DeviceUseTrigger
impl CanInto<IBackgroundTrigger> for DeviceUseTrigger
§impl CanInto<IBackgroundTrigger> for DeviceWatcherTrigger
impl CanInto<IBackgroundTrigger> for DeviceWatcherTrigger
§impl CanInto<IBackgroundTrigger> for EmailStoreNotificationTrigger
impl CanInto<IBackgroundTrigger> for EmailStoreNotificationTrigger
§impl CanInto<IBackgroundTrigger> for GattCharacteristicNotificationTrigger
impl CanInto<IBackgroundTrigger> for GattCharacteristicNotificationTrigger
§impl CanInto<IBackgroundTrigger> for GattServiceProviderTrigger
impl CanInto<IBackgroundTrigger> for GattServiceProviderTrigger
§impl CanInto<IBackgroundTrigger> for GeovisitTrigger
impl CanInto<IBackgroundTrigger> for GeovisitTrigger
§impl CanInto<IBackgroundTrigger> for LocationTrigger
impl CanInto<IBackgroundTrigger> for LocationTrigger
§impl CanInto<IBackgroundTrigger> for MaintenanceTrigger
impl CanInto<IBackgroundTrigger> for MaintenanceTrigger
§impl CanInto<IBackgroundTrigger> for MediaProcessingTrigger
impl CanInto<IBackgroundTrigger> for MediaProcessingTrigger
§impl CanInto<IBackgroundTrigger> for MobileBroadbandDeviceServiceNotificationTrigger
impl CanInto<IBackgroundTrigger> for MobileBroadbandDeviceServiceNotificationTrigger
§impl CanInto<IBackgroundTrigger> for MobileBroadbandPcoDataChangeTrigger
impl CanInto<IBackgroundTrigger> for MobileBroadbandPcoDataChangeTrigger
§impl CanInto<IBackgroundTrigger> for MobileBroadbandPinLockStateChangeTrigger
impl CanInto<IBackgroundTrigger> for MobileBroadbandPinLockStateChangeTrigger
§impl CanInto<IBackgroundTrigger> for MobileBroadbandRadioStateChangeTrigger
impl CanInto<IBackgroundTrigger> for MobileBroadbandRadioStateChangeTrigger
§impl CanInto<IBackgroundTrigger> for MobileBroadbandRegistrationStateChangeTrigger
impl CanInto<IBackgroundTrigger> for MobileBroadbandRegistrationStateChangeTrigger
§impl CanInto<IBackgroundTrigger> for NetworkOperatorDataUsageTrigger
impl CanInto<IBackgroundTrigger> for NetworkOperatorDataUsageTrigger
§impl CanInto<IBackgroundTrigger> for NetworkOperatorHotspotAuthenticationTrigger
impl CanInto<IBackgroundTrigger> for NetworkOperatorHotspotAuthenticationTrigger
§impl CanInto<IBackgroundTrigger> for NetworkOperatorNotificationTrigger
impl CanInto<IBackgroundTrigger> for NetworkOperatorNotificationTrigger
§impl CanInto<IBackgroundTrigger> for PaymentAppCanMakePaymentTrigger
impl CanInto<IBackgroundTrigger> for PaymentAppCanMakePaymentTrigger
§impl CanInto<IBackgroundTrigger> for PhoneTrigger
impl CanInto<IBackgroundTrigger> for PhoneTrigger
§impl CanInto<IBackgroundTrigger> for PushNotificationTrigger
impl CanInto<IBackgroundTrigger> for PushNotificationTrigger
§impl CanInto<IBackgroundTrigger> for RcsEndUserMessageAvailableTrigger
impl CanInto<IBackgroundTrigger> for RcsEndUserMessageAvailableTrigger
§impl CanInto<IBackgroundTrigger> for RfcommConnectionTrigger
impl CanInto<IBackgroundTrigger> for RfcommConnectionTrigger
§impl CanInto<IBackgroundTrigger> for SecondaryAuthenticationFactorAuthenticationTrigger
impl CanInto<IBackgroundTrigger> for SecondaryAuthenticationFactorAuthenticationTrigger
§impl CanInto<IBackgroundTrigger> for SensorDataThresholdTrigger
impl CanInto<IBackgroundTrigger> for SensorDataThresholdTrigger
§impl CanInto<IBackgroundTrigger> for SmartCardTrigger
impl CanInto<IBackgroundTrigger> for SmartCardTrigger
§impl CanInto<IBackgroundTrigger> for SmsMessageReceivedTrigger
impl CanInto<IBackgroundTrigger> for SmsMessageReceivedTrigger
§impl CanInto<IBackgroundTrigger> for SocketActivityTrigger
impl CanInto<IBackgroundTrigger> for SocketActivityTrigger
§impl CanInto<IBackgroundTrigger> for StorageLibraryChangeTrackerTrigger
impl CanInto<IBackgroundTrigger> for StorageLibraryChangeTrackerTrigger
§impl CanInto<IBackgroundTrigger> for StorageLibraryContentChangedTrigger
impl CanInto<IBackgroundTrigger> for StorageLibraryContentChangedTrigger
§impl CanInto<IBackgroundTrigger> for SystemTrigger
impl CanInto<IBackgroundTrigger> for SystemTrigger
§impl CanInto<IBackgroundTrigger> for TetheringEntitlementCheckTrigger
impl CanInto<IBackgroundTrigger> for TetheringEntitlementCheckTrigger
§impl CanInto<IBackgroundTrigger> for TimeTrigger
impl CanInto<IBackgroundTrigger> for TimeTrigger
§impl CanInto<IBackgroundTrigger> for ToastNotificationActionTrigger
impl CanInto<IBackgroundTrigger> for ToastNotificationActionTrigger
§impl CanInto<IBackgroundTrigger> for ToastNotificationHistoryChangedTrigger
impl CanInto<IBackgroundTrigger> for ToastNotificationHistoryChangedTrigger
§impl CanInto<IBackgroundTrigger> for UserNotificationChangedTrigger
impl CanInto<IBackgroundTrigger> for UserNotificationChangedTrigger
§impl CanInto<IBackgroundTrigger> for WiFiOnDemandHotspotConnectTrigger
impl CanInto<IBackgroundTrigger> for WiFiOnDemandHotspotConnectTrigger
§impl CanInto<IBackgroundTrigger> for WiFiOnDemandHotspotUpdateMetadataTrigger
impl CanInto<IBackgroundTrigger> for WiFiOnDemandHotspotUpdateMetadataTrigger
§impl CanInto<IInspectable> for IBackgroundTrigger
impl CanInto<IInspectable> for IBackgroundTrigger
§impl CanInto<IUnknown> for IBackgroundTrigger
impl CanInto<IUnknown> for IBackgroundTrigger
§impl Clone for IBackgroundTrigger
impl Clone for IBackgroundTrigger
§fn clone(&self) -> IBackgroundTrigger
fn clone(&self) -> IBackgroundTrigger
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IBackgroundTrigger
impl Debug for IBackgroundTrigger
§impl Deref for IBackgroundTrigger
impl Deref for IBackgroundTrigger
§impl From<&IBackgroundTrigger> for &IInspectable
impl From<&IBackgroundTrigger> for &IInspectable
§fn from(value: &IBackgroundTrigger) -> Self
fn from(value: &IBackgroundTrigger) -> Self
Converts to this type from the input type.
§impl From<&IBackgroundTrigger> for &IUnknown
impl From<&IBackgroundTrigger> for &IUnknown
§fn from(value: &IBackgroundTrigger) -> Self
fn from(value: &IBackgroundTrigger) -> Self
Converts to this type from the input type.
§impl From<IBackgroundTrigger> for IInspectable
impl From<IBackgroundTrigger> for IInspectable
§fn from(value: IBackgroundTrigger) -> Self
fn from(value: IBackgroundTrigger) -> Self
Converts to this type from the input type.
§impl From<IBackgroundTrigger> for IUnknown
impl From<IBackgroundTrigger> for IUnknown
§fn from(value: IBackgroundTrigger) -> Self
fn from(value: IBackgroundTrigger) -> Self
Converts to this type from the input type.
§impl Interface for IBackgroundTrigger
impl Interface for IBackgroundTrigger
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IBackgroundTrigger
impl PartialEq for IBackgroundTrigger
§fn eq(&self, other: &IBackgroundTrigger) -> bool
fn eq(&self, other: &IBackgroundTrigger) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IBackgroundTrigger
impl StructuralPartialEq for IBackgroundTrigger
Auto Trait Implementations§
impl Freeze for IBackgroundTrigger
impl RefUnwindSafe for IBackgroundTrigger
impl !Send for IBackgroundTrigger
impl !Sync for IBackgroundTrigger
impl Unpin for IBackgroundTrigger
impl UnwindSafe for IBackgroundTrigger
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)