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

Required Methods§

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

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

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

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

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

Object Safety§

This trait is not object safe.

Implementors§