Struct windows::Networking::NetworkOperators::ESim
pub struct ESim(/* private fields */);
Implementations§
§impl ESim
impl ESim
pub fn AvailableMemoryInBytes(&self) -> Result<IReference<i32>>
pub fn Eid(&self) -> Result<HSTRING>
pub fn FirmwareVersion(&self) -> Result<HSTRING>
pub fn MobileBroadbandModemDeviceId(&self) -> Result<HSTRING>
pub fn Policy(&self) -> Result<ESimPolicy>
pub fn State(&self) -> Result<ESimState>
pub fn GetProfiles(&self) -> Result<IVectorView<ESimProfile>>
pub fn DeleteProfileAsync( &self, profileid: &HSTRING ) -> Result<IAsyncOperation<ESimOperationResult>>
pub fn DownloadProfileMetadataAsync( &self, activationcode: &HSTRING ) -> Result<IAsyncOperation<ESimDownloadProfileMetadataResult>>
pub fn ResetAsync(&self) -> Result<IAsyncOperation<ESimOperationResult>>
pub fn ProfileChanged<P0>(&self, handler: P0) -> Result<EventRegistrationToken>
pub fn RemoveProfileChanged(&self, token: EventRegistrationToken) -> Result<()>
pub fn Discover(&self) -> Result<ESimDiscoverResult>
pub fn DiscoverWithServerAddressAndMatchingId( &self, serveraddress: &HSTRING, matchingid: &HSTRING ) -> Result<ESimDiscoverResult>
pub fn DiscoverAsync(&self) -> Result<IAsyncOperation<ESimDiscoverResult>>
pub fn DiscoverWithServerAddressAndMatchingIdAsync( &self, serveraddress: &HSTRING, matchingid: &HSTRING ) -> Result<IAsyncOperation<ESimDiscoverResult>>
pub fn SlotIndex(&self) -> Result<IReference<i32>>
Trait Implementations§
§impl From<&ESim> for &IInspectable
impl From<&ESim> for &IInspectable
§impl From<ESim> for IInspectable
impl From<ESim> for IInspectable
§impl Interface for ESim
impl Interface for ESim
§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 moreimpl Eq for ESim
impl Send for ESim
impl StructuralPartialEq for ESim
impl Sync for ESim
Auto Trait Implementations§
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