pub struct IWdsTransportNamespaceAutoCast(/* private fields */);
Implementations§
§impl IWdsTransportNamespaceAutoCast
impl IWdsTransportNamespaceAutoCast
pub unsafe fn Type(&self) -> Result<WDSTRANSPORT_NAMESPACE_TYPE>
pub unsafe fn Id(&self) -> Result<u32>
pub unsafe fn Name(&self) -> Result<BSTR>
pub unsafe fn SetName<P0>(&self, bszname: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn FriendlyName(&self) -> Result<BSTR>
pub unsafe fn SetFriendlyName<P0>(&self, bszfriendlyname: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Description(&self) -> Result<BSTR>
pub unsafe fn SetDescription<P0>(&self, bszdescription: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn ContentProvider(&self) -> Result<BSTR>
pub unsafe fn SetContentProvider<P0>(
&self,
bszcontentprovider: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Configuration(&self) -> Result<BSTR>
pub unsafe fn SetConfiguration<P0>(&self, bszconfiguration: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Registered(&self) -> Result<VARIANT_BOOL>
pub unsafe fn Tombstoned(&self) -> Result<VARIANT_BOOL>
pub unsafe fn TombstoneTime(&self) -> Result<f64>
pub unsafe fn TransmissionStarted(&self) -> Result<VARIANT_BOOL>
pub unsafe fn Register(&self) -> Result<()>
pub unsafe fn Deregister<P0>(&self, bterminatesessions: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn Clone(&self) -> Result<IWdsTransportNamespace>
pub unsafe fn Refresh(&self) -> Result<()>
pub unsafe fn RetrieveContents(&self) -> Result<IWdsTransportCollection>
Trait Implementations§
§impl Clone for IWdsTransportNamespaceAutoCast
impl Clone for IWdsTransportNamespaceAutoCast
§fn clone(&self) -> IWdsTransportNamespaceAutoCast
fn clone(&self) -> IWdsTransportNamespaceAutoCast
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 IWdsTransportNamespaceAutoCast
impl Debug for IWdsTransportNamespaceAutoCast
§impl From<&IWdsTransportNamespaceAutoCast> for &IDispatch
impl From<&IWdsTransportNamespaceAutoCast> for &IDispatch
§fn from(value: &IWdsTransportNamespaceAutoCast) -> Self
fn from(value: &IWdsTransportNamespaceAutoCast) -> Self
Converts to this type from the input type.
§impl From<&IWdsTransportNamespaceAutoCast> for &IUnknown
impl From<&IWdsTransportNamespaceAutoCast> for &IUnknown
§fn from(value: &IWdsTransportNamespaceAutoCast) -> Self
fn from(value: &IWdsTransportNamespaceAutoCast) -> Self
Converts to this type from the input type.
§impl From<&IWdsTransportNamespaceAutoCast> for &IWdsTransportNamespace
impl From<&IWdsTransportNamespaceAutoCast> for &IWdsTransportNamespace
§fn from(value: &IWdsTransportNamespaceAutoCast) -> Self
fn from(value: &IWdsTransportNamespaceAutoCast) -> Self
Converts to this type from the input type.
§impl From<IWdsTransportNamespaceAutoCast> for IDispatch
impl From<IWdsTransportNamespaceAutoCast> for IDispatch
§fn from(value: IWdsTransportNamespaceAutoCast) -> Self
fn from(value: IWdsTransportNamespaceAutoCast) -> Self
Converts to this type from the input type.
§impl From<IWdsTransportNamespaceAutoCast> for IUnknown
impl From<IWdsTransportNamespaceAutoCast> for IUnknown
§fn from(value: IWdsTransportNamespaceAutoCast) -> Self
fn from(value: IWdsTransportNamespaceAutoCast) -> Self
Converts to this type from the input type.
§impl From<IWdsTransportNamespaceAutoCast> for IWdsTransportNamespace
impl From<IWdsTransportNamespaceAutoCast> for IWdsTransportNamespace
§fn from(value: IWdsTransportNamespaceAutoCast) -> Self
fn from(value: IWdsTransportNamespaceAutoCast) -> Self
Converts to this type from the input type.
§impl Interface for IWdsTransportNamespaceAutoCast
impl Interface for IWdsTransportNamespaceAutoCast
§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 IWdsTransportNamespaceAutoCast
impl PartialEq for IWdsTransportNamespaceAutoCast
§fn eq(&self, other: &IWdsTransportNamespaceAutoCast) -> bool
fn eq(&self, other: &IWdsTransportNamespaceAutoCast) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IWdsTransportNamespaceAutoCast
impl StructuralPartialEq for IWdsTransportNamespaceAutoCast
Auto Trait Implementations§
impl RefUnwindSafe for IWdsTransportNamespaceAutoCast
impl !Send for IWdsTransportNamespaceAutoCast
impl !Sync for IWdsTransportNamespaceAutoCast
impl Unpin for IWdsTransportNamespaceAutoCast
impl UnwindSafe for IWdsTransportNamespaceAutoCast
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