Struct windows::Win32::NetworkManagement::MobileBroadband::IMbnInterface
pub struct IMbnInterface(/* private fields */);
Implementations§
§impl IMbnInterface
impl IMbnInterface
pub unsafe fn InterfaceID(&self) -> Result<BSTR>
pub unsafe fn GetInterfaceCapability( &self, interfacecaps: *mut MBN_INTERFACE_CAPS ) -> Result<()>
pub unsafe fn GetSubscriberInformation( &self ) -> Result<IMbnSubscriberInformation>
pub unsafe fn GetReadyState(&self) -> Result<MBN_READY_STATE>
pub unsafe fn InEmergencyMode(&self) -> Result<VARIANT_BOOL>
pub unsafe fn GetHomeProvider(&self) -> Result<MBN_PROVIDER>
pub unsafe fn GetPreferredProviders(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn SetPreferredProviders( &self, preferredproviders: *const SAFEARRAY ) -> Result<u32>
pub unsafe fn GetVisibleProviders( &self, age: *mut u32 ) -> Result<*mut SAFEARRAY>
pub unsafe fn ScanNetwork(&self) -> Result<u32>
pub unsafe fn GetConnection(&self) -> Result<IMbnConnection>
Trait Implementations§
§impl Clone for IMbnInterface
impl Clone for IMbnInterface
§fn clone(&self) -> IMbnInterface
fn clone(&self) -> IMbnInterface
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 IMbnInterface
impl Debug for IMbnInterface
§impl Deref for IMbnInterface
impl Deref for IMbnInterface
§impl From<&IMbnInterface> for &IUnknown
impl From<&IMbnInterface> for &IUnknown
§fn from(value: &IMbnInterface) -> Self
fn from(value: &IMbnInterface) -> Self
Converts to this type from the input type.
§impl From<IMbnInterface> for IUnknown
impl From<IMbnInterface> for IUnknown
§fn from(value: IMbnInterface) -> Self
fn from(value: IMbnInterface) -> Self
Converts to this type from the input type.
§impl Interface for IMbnInterface
impl Interface for IMbnInterface
§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 IMbnInterface
impl PartialEq for IMbnInterface
§fn eq(&self, other: &IMbnInterface) -> bool
fn eq(&self, other: &IMbnInterface) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMbnInterface
impl StructuralPartialEq for IMbnInterface
Auto Trait Implementations§
impl Freeze for IMbnInterface
impl RefUnwindSafe for IMbnInterface
impl !Send for IMbnInterface
impl !Sync for IMbnInterface
impl Unpin for IMbnInterface
impl UnwindSafe for IMbnInterface
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