windows::Win32::Networking::NetworkListManager

Trait INetworkListManager_Impl

pub trait INetworkListManager_Impl: IDispatch_Impl {
    // Required methods
    fn GetNetworks(&self, flags: NLM_ENUM_NETWORK) -> Result<IEnumNetworks>;
    fn GetNetwork(&self, gdnetworkid: &GUID) -> Result<INetwork>;
    fn GetNetworkConnections(&self) -> Result<IEnumNetworkConnections>;
    fn GetNetworkConnection(
        &self,
        gdnetworkconnectionid: &GUID,
    ) -> Result<INetworkConnection>;
    fn IsConnectedToInternet(&self) -> Result<VARIANT_BOOL>;
    fn IsConnected(&self) -> Result<VARIANT_BOOL>;
    fn GetConnectivity(&self) -> Result<NLM_CONNECTIVITY>;
    fn SetSimulatedProfileInfo(
        &self,
        psimulatedinfo: *const NLM_SIMULATED_PROFILE_INFO,
    ) -> Result<()>;
    fn ClearSimulatedProfileInfo(&self) -> Result<()>;
}

Required Methods§

fn GetNetworks(&self, flags: NLM_ENUM_NETWORK) -> Result<IEnumNetworks>

fn GetNetwork(&self, gdnetworkid: &GUID) -> Result<INetwork>

fn GetNetworkConnections(&self) -> Result<IEnumNetworkConnections>

fn GetNetworkConnection( &self, gdnetworkconnectionid: &GUID, ) -> Result<INetworkConnection>

fn IsConnectedToInternet(&self) -> Result<VARIANT_BOOL>

fn IsConnected(&self) -> Result<VARIANT_BOOL>

fn GetConnectivity(&self) -> Result<NLM_CONNECTIVITY>

fn SetSimulatedProfileInfo( &self, psimulatedinfo: *const NLM_SIMULATED_PROFILE_INFO, ) -> Result<()>

fn ClearSimulatedProfileInfo(&self) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§