Struct windows::Win32::System::DeploymentServices::IWdsTransportClient
pub struct IWdsTransportClient(/* private fields */);
Implementations§
§impl IWdsTransportClient
impl IWdsTransportClient
pub unsafe fn Session(&self) -> Result<IWdsTransportSession>
pub unsafe fn Id(&self) -> Result<u32>
pub unsafe fn Name(&self) -> Result<BSTR>
pub unsafe fn MacAddress(&self) -> Result<BSTR>
pub unsafe fn IpAddress(&self) -> Result<BSTR>
pub unsafe fn PercentCompletion(&self) -> Result<u32>
pub unsafe fn JoinDuration(&self) -> Result<u32>
pub unsafe fn CpuUtilization(&self) -> Result<u32>
pub unsafe fn MemoryUtilization(&self) -> Result<u32>
pub unsafe fn NetworkUtilization(&self) -> Result<u32>
pub unsafe fn UserIdentity(&self) -> Result<BSTR>
pub unsafe fn Disconnect( &self, disconnectiontype: WDSTRANSPORT_DISCONNECT_TYPE ) -> Result<()>
Trait Implementations§
§impl Clone for IWdsTransportClient
impl Clone for IWdsTransportClient
§fn clone(&self) -> IWdsTransportClient
fn clone(&self) -> IWdsTransportClient
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 IWdsTransportClient
impl Debug for IWdsTransportClient
§impl From<&IWdsTransportClient> for &IDispatch
impl From<&IWdsTransportClient> for &IDispatch
§fn from(value: &IWdsTransportClient) -> Self
fn from(value: &IWdsTransportClient) -> Self
Converts to this type from the input type.
§impl From<&IWdsTransportClient> for &IUnknown
impl From<&IWdsTransportClient> for &IUnknown
§fn from(value: &IWdsTransportClient) -> Self
fn from(value: &IWdsTransportClient) -> Self
Converts to this type from the input type.
§impl From<IWdsTransportClient> for IDispatch
impl From<IWdsTransportClient> for IDispatch
§fn from(value: IWdsTransportClient) -> Self
fn from(value: IWdsTransportClient) -> Self
Converts to this type from the input type.
§impl From<IWdsTransportClient> for IUnknown
impl From<IWdsTransportClient> for IUnknown
§fn from(value: IWdsTransportClient) -> Self
fn from(value: IWdsTransportClient) -> Self
Converts to this type from the input type.
§impl Interface for IWdsTransportClient
impl Interface for IWdsTransportClient
§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 IWdsTransportClient
impl PartialEq for IWdsTransportClient
§fn eq(&self, other: &IWdsTransportClient) -> bool
fn eq(&self, other: &IWdsTransportClient) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IWdsTransportClient
impl StructuralPartialEq for IWdsTransportClient
Auto Trait Implementations§
impl RefUnwindSafe for IWdsTransportClient
impl !Send for IWdsTransportClient
impl !Sync for IWdsTransportClient
impl Unpin for IWdsTransportClient
impl UnwindSafe for IWdsTransportClient
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