windows::Win32::NetworkManagement::WindowsFirewall

Trait INetSharingManager_Impl

pub trait INetSharingManager_Impl: IDispatch_Impl {
    // Required methods
    fn SharingInstalled(&self) -> Result<VARIANT_BOOL>;
    fn get_EnumPublicConnections(
        &self,
        flags: SHARINGCONNECTION_ENUM_FLAGS,
    ) -> Result<INetSharingPublicConnectionCollection>;
    fn get_EnumPrivateConnections(
        &self,
        flags: SHARINGCONNECTION_ENUM_FLAGS,
    ) -> Result<INetSharingPrivateConnectionCollection>;
    fn get_INetSharingConfigurationForINetConnection(
        &self,
        pnetconnection: Ref<'_, INetConnection>,
    ) -> Result<INetSharingConfiguration>;
    fn EnumEveryConnection(
        &self,
    ) -> Result<INetSharingEveryConnectionCollection>;
    fn get_NetConnectionProps(
        &self,
        pnetconnection: Ref<'_, INetConnection>,
    ) -> Result<INetConnectionProps>;
}

Required Methods§

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§