pub struct IMbnRegistrationEvents(/* private fields */);
Implementations§
§impl IMbnRegistrationEvents
impl IMbnRegistrationEvents
pub unsafe fn OnRegisterModeAvailable<P0>(&self, newinterface: P0) -> Result<()>where
P0: Param<IMbnRegistration>,
pub unsafe fn OnRegisterStateChange<P0>(&self, newinterface: P0) -> Result<()>where
P0: Param<IMbnRegistration>,
pub unsafe fn OnPacketServiceStateChange<P0>(
&self,
newinterface: P0
) -> Result<()>where
P0: Param<IMbnRegistration>,
pub unsafe fn OnSetRegisterModeComplete<P0>(
&self,
newinterface: P0,
requestid: u32,
status: HRESULT
) -> Result<()>where
P0: Param<IMbnRegistration>,
Trait Implementations§
§impl Clone for IMbnRegistrationEvents
impl Clone for IMbnRegistrationEvents
§fn clone(&self) -> IMbnRegistrationEvents
fn clone(&self) -> IMbnRegistrationEvents
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 IMbnRegistrationEvents
impl Debug for IMbnRegistrationEvents
§impl Deref for IMbnRegistrationEvents
impl Deref for IMbnRegistrationEvents
§impl From<&IMbnRegistrationEvents> for &IUnknown
impl From<&IMbnRegistrationEvents> for &IUnknown
§fn from(value: &IMbnRegistrationEvents) -> Self
fn from(value: &IMbnRegistrationEvents) -> Self
Converts to this type from the input type.
§impl From<IMbnRegistrationEvents> for IUnknown
impl From<IMbnRegistrationEvents> for IUnknown
§fn from(value: IMbnRegistrationEvents) -> Self
fn from(value: IMbnRegistrationEvents) -> Self
Converts to this type from the input type.
§impl Interface for IMbnRegistrationEvents
impl Interface for IMbnRegistrationEvents
§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 IMbnRegistrationEvents
impl PartialEq for IMbnRegistrationEvents
§fn eq(&self, other: &IMbnRegistrationEvents) -> bool
fn eq(&self, other: &IMbnRegistrationEvents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMbnRegistrationEvents
impl StructuralPartialEq for IMbnRegistrationEvents
Auto Trait Implementations§
impl Freeze for IMbnRegistrationEvents
impl RefUnwindSafe for IMbnRegistrationEvents
impl !Send for IMbnRegistrationEvents
impl !Sync for IMbnRegistrationEvents
impl Unpin for IMbnRegistrationEvents
impl UnwindSafe for IMbnRegistrationEvents
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