Struct IDot11AdHocInterfaceNotificationSink
pub struct IDot11AdHocInterfaceNotificationSink(/* private fields */);
Implementations§
§impl IDot11AdHocInterfaceNotificationSink
impl IDot11AdHocInterfaceNotificationSink
pub unsafe fn OnConnectionStatusChange( &self, estatus: DOT11_ADHOC_NETWORK_CONNECTION_STATUS, ) -> Result<()>
Trait Implementations§
§impl CanInto<IUnknown> for IDot11AdHocInterfaceNotificationSink
impl CanInto<IUnknown> for IDot11AdHocInterfaceNotificationSink
§impl Clone for IDot11AdHocInterfaceNotificationSink
impl Clone for IDot11AdHocInterfaceNotificationSink
§fn clone(&self) -> IDot11AdHocInterfaceNotificationSink
fn clone(&self) -> IDot11AdHocInterfaceNotificationSink
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 From<&IDot11AdHocInterfaceNotificationSink> for &IUnknown
impl From<&IDot11AdHocInterfaceNotificationSink> for &IUnknown
§fn from(value: &IDot11AdHocInterfaceNotificationSink) -> Self
fn from(value: &IDot11AdHocInterfaceNotificationSink) -> Self
Converts to this type from the input type.
§impl From<IDot11AdHocInterfaceNotificationSink> for IUnknown
impl From<IDot11AdHocInterfaceNotificationSink> for IUnknown
§fn from(value: IDot11AdHocInterfaceNotificationSink) -> Self
fn from(value: IDot11AdHocInterfaceNotificationSink) -> Self
Converts to this type from the input type.
§impl Interface for IDot11AdHocInterfaceNotificationSink
impl Interface for IDot11AdHocInterfaceNotificationSink
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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 IDot11AdHocInterfaceNotificationSink
impl PartialEq for IDot11AdHocInterfaceNotificationSink
§fn eq(&self, other: &IDot11AdHocInterfaceNotificationSink) -> bool
fn eq(&self, other: &IDot11AdHocInterfaceNotificationSink) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for IDot11AdHocInterfaceNotificationSink
impl StructuralPartialEq for IDot11AdHocInterfaceNotificationSink
Auto Trait Implementations§
impl Freeze for IDot11AdHocInterfaceNotificationSink
impl RefUnwindSafe for IDot11AdHocInterfaceNotificationSink
impl !Send for IDot11AdHocInterfaceNotificationSink
impl !Sync for IDot11AdHocInterfaceNotificationSink
impl Unpin for IDot11AdHocInterfaceNotificationSink
impl UnwindSafe for IDot11AdHocInterfaceNotificationSink
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