windows::Win32::NetworkManagement::WindowsFirewall

Trait INetFwAuthorizedApplications_Impl

pub trait INetFwAuthorizedApplications_Impl: IDispatch_Impl {
    // Required methods
    fn Count(&self) -> Result<i32>;
    fn Add(&self, app: Ref<'_, INetFwAuthorizedApplication>) -> Result<()>;
    fn Remove(&self, imagefilename: &BSTR) -> Result<()>;
    fn Item(&self, imagefilename: &BSTR) -> Result<INetFwAuthorizedApplication>;
    fn _NewEnum(&self) -> Result<IUnknown>;
}

Required Methods§

fn Count(&self) -> Result<i32>

fn Add(&self, app: Ref<'_, INetFwAuthorizedApplication>) -> Result<()>

fn Remove(&self, imagefilename: &BSTR) -> Result<()>

fn Item(&self, imagefilename: &BSTR) -> Result<INetFwAuthorizedApplication>

fn _NewEnum(&self) -> Result<IUnknown>

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§