Struct windows::System::RemoteSystems::RemoteSystem
pub struct RemoteSystem(/* private fields */);
Implementations§
§impl RemoteSystem
impl RemoteSystem
pub fn DisplayName(&self) -> Result<HSTRING>
pub fn Id(&self) -> Result<HSTRING>
pub fn Kind(&self) -> Result<HSTRING>
pub fn Status(&self) -> Result<RemoteSystemStatus>
pub fn IsAvailableByProximity(&self) -> Result<bool>
pub fn IsAvailableBySpatialProximity(&self) -> Result<bool>
pub fn GetCapabilitySupportedAsync( &self, capabilityname: &HSTRING ) -> Result<IAsyncOperation<bool>>
pub fn ManufacturerDisplayName(&self) -> Result<HSTRING>
pub fn ModelDisplayName(&self) -> Result<HSTRING>
pub fn Platform(&self) -> Result<RemoteSystemPlatform>
pub fn Apps(&self) -> Result<IVectorView<RemoteSystemApp>>
pub fn User(&self) -> Result<User>
pub fn FindByHostNameAsync<P0>(
hostname: P0
) -> Result<IAsyncOperation<RemoteSystem>>where
P0: IntoParam<HostName>,
pub fn CreateWatcher() -> Result<RemoteSystemWatcher>
pub fn CreateWatcherWithFilters<P0>(filters: P0) -> Result<RemoteSystemWatcher>where
P0: IntoParam<IIterable<IRemoteSystemFilter>>,
pub fn RequestAccessAsync() -> Result<IAsyncOperation<RemoteSystemAccessStatus>>
pub fn IsAuthorizationKindEnabled( kind: RemoteSystemAuthorizationKind ) -> Result<bool>
pub fn CreateWatcherForUser<P0>(user: P0) -> Result<RemoteSystemWatcher>where
P0: IntoParam<User>,
pub fn CreateWatcherWithFiltersForUser<P0, P1>( user: P0, filters: P1 ) -> Result<RemoteSystemWatcher>
Trait Implementations§
§impl Clone for RemoteSystem
impl Clone for RemoteSystem
§fn clone(&self) -> RemoteSystem
fn clone(&self) -> RemoteSystem
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 RemoteSystem
impl Debug for RemoteSystem
§impl From<&RemoteSystem> for &IInspectable
impl From<&RemoteSystem> for &IInspectable
§fn from(value: &RemoteSystem) -> Self
fn from(value: &RemoteSystem) -> Self
Converts to this type from the input type.
§impl From<&RemoteSystem> for &IUnknown
impl From<&RemoteSystem> for &IUnknown
§fn from(value: &RemoteSystem) -> Self
fn from(value: &RemoteSystem) -> Self
Converts to this type from the input type.
§impl From<RemoteSystem> for IInspectable
impl From<RemoteSystem> for IInspectable
§fn from(value: RemoteSystem) -> Self
fn from(value: RemoteSystem) -> Self
Converts to this type from the input type.
§impl From<RemoteSystem> for IUnknown
impl From<RemoteSystem> for IUnknown
§fn from(value: RemoteSystem) -> Self
fn from(value: RemoteSystem) -> Self
Converts to this type from the input type.
§impl Interface for RemoteSystem
impl Interface for RemoteSystem
§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 RemoteSystem
impl PartialEq for RemoteSystem
§fn eq(&self, other: &RemoteSystem) -> bool
fn eq(&self, other: &RemoteSystem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RemoteSystem
impl Send for RemoteSystem
impl StructuralPartialEq for RemoteSystem
impl Sync for RemoteSystem
Auto Trait Implementations§
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