pub struct MobileBroadbandSlotManager(/* private fields */);
Implementations§
§impl MobileBroadbandSlotManager
impl MobileBroadbandSlotManager
pub fn SlotInfos(&self) -> Result<IVectorView<MobileBroadbandSlotInfo>>
pub fn CurrentSlotIndex(&self) -> Result<i32>
pub fn SetCurrentSlot( &self, slotindex: i32 ) -> Result<MobileBroadbandModemStatus>
pub fn SetCurrentSlotAsync( &self, slotindex: i32 ) -> Result<IAsyncOperation<MobileBroadbandModemStatus>>
pub fn SlotInfoChanged<P0>(&self, handler: P0) -> Result<EventRegistrationToken>where
P0: IntoParam<TypedEventHandler<MobileBroadbandSlotManager, MobileBroadbandSlotInfoChangedEventArgs>>,
pub fn RemoveSlotInfoChanged(&self, token: EventRegistrationToken) -> Result<()>
pub fn CurrentSlotIndexChanged<P0>(
&self,
handler: P0
) -> Result<EventRegistrationToken>where
P0: IntoParam<TypedEventHandler<MobileBroadbandSlotManager, MobileBroadbandCurrentSlotIndexChangedEventArgs>>,
pub fn RemoveCurrentSlotIndexChanged( &self, token: EventRegistrationToken ) -> Result<()>
Trait Implementations§
§impl Clone for MobileBroadbandSlotManager
impl Clone for MobileBroadbandSlotManager
§fn clone(&self) -> MobileBroadbandSlotManager
fn clone(&self) -> MobileBroadbandSlotManager
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 MobileBroadbandSlotManager
impl Debug for MobileBroadbandSlotManager
§impl From<&MobileBroadbandSlotManager> for &IInspectable
impl From<&MobileBroadbandSlotManager> for &IInspectable
§fn from(value: &MobileBroadbandSlotManager) -> Self
fn from(value: &MobileBroadbandSlotManager) -> Self
Converts to this type from the input type.
§impl From<&MobileBroadbandSlotManager> for &IUnknown
impl From<&MobileBroadbandSlotManager> for &IUnknown
§fn from(value: &MobileBroadbandSlotManager) -> Self
fn from(value: &MobileBroadbandSlotManager) -> Self
Converts to this type from the input type.
§impl From<MobileBroadbandSlotManager> for IInspectable
impl From<MobileBroadbandSlotManager> for IInspectable
§fn from(value: MobileBroadbandSlotManager) -> Self
fn from(value: MobileBroadbandSlotManager) -> Self
Converts to this type from the input type.
§impl From<MobileBroadbandSlotManager> for IUnknown
impl From<MobileBroadbandSlotManager> for IUnknown
§fn from(value: MobileBroadbandSlotManager) -> Self
fn from(value: MobileBroadbandSlotManager) -> Self
Converts to this type from the input type.
§impl Interface for MobileBroadbandSlotManager
impl Interface for MobileBroadbandSlotManager
§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§impl PartialEq for MobileBroadbandSlotManager
impl PartialEq for MobileBroadbandSlotManager
§fn eq(&self, other: &MobileBroadbandSlotManager) -> bool
fn eq(&self, other: &MobileBroadbandSlotManager) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MobileBroadbandSlotManager
impl Send for MobileBroadbandSlotManager
impl StructuralPartialEq for MobileBroadbandSlotManager
impl Sync for MobileBroadbandSlotManager
Auto Trait Implementations§
impl RefUnwindSafe for MobileBroadbandSlotManager
impl Unpin for MobileBroadbandSlotManager
impl UnwindSafe for MobileBroadbandSlotManager
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