Struct windows::Networking::Connectivity::NetworkInformation
pub struct NetworkInformation;
Implementations§
§impl NetworkInformation
impl NetworkInformation
pub fn GetConnectionProfiles() -> Result<IVectorView<ConnectionProfile>>
pub fn GetInternetConnectionProfile() -> Result<ConnectionProfile>
pub fn GetLanIdentifiers() -> Result<IVectorView<LanIdentifier>>
pub fn GetHostNames() -> Result<IVectorView<HostName>>
pub fn GetProxyConfigurationAsync<P0>(
uri: P0
) -> Result<IAsyncOperation<ProxyConfiguration>>where
P0: IntoParam<Uri>,
pub fn GetSortedEndpointPairs<P0>(
destinationlist: P0,
sortoptions: HostNameSortOptions
) -> Result<IVectorView<EndpointPair>>where
P0: IntoParam<IIterable<EndpointPair>>,
pub fn NetworkStatusChanged<P0>(
networkstatushandler: P0
) -> Result<EventRegistrationToken>where
P0: IntoParam<NetworkStatusChangedEventHandler>,
pub fn RemoveNetworkStatusChanged( eventcookie: EventRegistrationToken ) -> Result<()>
pub fn FindConnectionProfilesAsync<P0>(
pprofilefilter: P0
) -> Result<IAsyncOperation<IVectorView<ConnectionProfile>>>where
P0: IntoParam<ConnectionProfileFilter>,
Auto Trait Implementations§
impl RefUnwindSafe for NetworkInformation
impl Send for NetworkInformation
impl Sync for NetworkInformation
impl Unpin for NetworkInformation
impl UnwindSafe for NetworkInformation
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