pub trait IStaticPortMappingCollection_Impl: Sized + IDispatch_Impl {
    // Required methods
    fn _NewEnum(&self) -> Result<IUnknown>;
    fn get_Item(
        &self,
        lexternalport: i32,
        bstrprotocol: &BSTR
    ) -> Result<IStaticPortMapping>;
    fn Count(&self) -> Result<i32>;
    fn Remove(&self, lexternalport: i32, bstrprotocol: &BSTR) -> Result<()>;
    fn Add(
        &self,
        lexternalport: i32,
        bstrprotocol: &BSTR,
        linternalport: i32,
        bstrinternalclient: &BSTR,
        benabled: VARIANT_BOOL,
        bstrdescription: &BSTR
    ) -> Result<IStaticPortMapping>;
}

Required Methods§

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

fn get_Item( &self, lexternalport: i32, bstrprotocol: &BSTR ) -> Result<IStaticPortMapping>

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

fn Remove(&self, lexternalport: i32, bstrprotocol: &BSTR) -> Result<()>

fn Add( &self, lexternalport: i32, bstrprotocol: &BSTR, linternalport: i32, bstrinternalclient: &BSTR, benabled: VARIANT_BOOL, bstrdescription: &BSTR ) -> Result<IStaticPortMapping>

Object Safety§

This trait is not object safe.

Implementors§