Trait IStaticPortMappingCollection_Impl
pub trait IStaticPortMappingCollection_Impl: 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>
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.