windows::Win32::NetworkManagement::WindowsFirewall

Trait INetFwPolicy_Impl

pub trait INetFwPolicy_Impl: IDispatch_Impl {
    // Required methods
    fn CurrentProfile(&self) -> Result<INetFwProfile>;
    fn GetProfileByType(
        &self,
        profiletype: NET_FW_PROFILE_TYPE,
    ) -> Result<INetFwProfile>;
}

Required Methods§

fn CurrentProfile(&self) -> Result<INetFwProfile>

fn GetProfileByType( &self, profiletype: NET_FW_PROFILE_TYPE, ) -> Result<INetFwProfile>

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§