Struct 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: Param<HostName>,
pub fn CreateWatcher() -> Result<RemoteSystemWatcher>
pub fn CreateWatcherWithFilters<P0>(filters: P0) -> Result<RemoteSystemWatcher>where
P0: Param<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: Param<User>,
pub fn CreateWatcherWithFiltersForUser<P0, P1>(
user: P0,
filters: P1,
) -> Result<RemoteSystemWatcher>where
P0: Param<User>,
P1: Param<IIterable<IRemoteSystemFilter>>,
Trait Implementations§
§impl CanInto<IInspectable> for RemoteSystem
impl CanInto<IInspectable> for RemoteSystem
§impl CanInto<IUnknown> for RemoteSystem
impl CanInto<IUnknown> for RemoteSystem
§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
§const IID: GUID = <IRemoteSystem as windows_core::Interface>::IID
const IID: GUID = <IRemoteSystem as windows_core::Interface>::IID
The
GUID
associated with the interface.§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 RemoteSystem
impl PartialEq for RemoteSystem
impl Eq for RemoteSystem
impl Send for RemoteSystem
impl StructuralPartialEq for RemoteSystem
impl Sync for RemoteSystem
Auto Trait Implementations§
impl Freeze for RemoteSystem
impl RefUnwindSafe for RemoteSystem
impl Unpin for RemoteSystem
impl UnwindSafe for RemoteSystem
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