Trait INetworkConnection_Impl
pub trait INetworkConnection_Impl: IDispatch_Impl {
// Required methods
fn GetNetwork(&self) -> Result<INetwork>;
fn IsConnectedToInternet(&self) -> Result<VARIANT_BOOL>;
fn IsConnected(&self) -> Result<VARIANT_BOOL>;
fn GetConnectivity(&self) -> Result<NLM_CONNECTIVITY>;
fn GetConnectionId(&self) -> Result<GUID>;
fn GetAdapterId(&self) -> Result<GUID>;
fn GetDomainType(&self) -> Result<NLM_DOMAIN_TYPE>;
}
Required Methods§
fn GetNetwork(&self) -> Result<INetwork>
fn IsConnectedToInternet(&self) -> Result<VARIANT_BOOL>
fn IsConnected(&self) -> Result<VARIANT_BOOL>
fn GetConnectivity(&self) -> Result<NLM_CONNECTIVITY>
fn GetConnectionId(&self) -> Result<GUID>
fn GetAdapterId(&self) -> Result<GUID>
fn GetDomainType(&self) -> Result<NLM_DOMAIN_TYPE>
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.