Trait INetFwOpenPorts_Impl
pub trait INetFwOpenPorts_Impl: IDispatch_Impl {
// Required methods
fn Count(&self) -> Result<i32>;
fn Add(&self, port: Ref<'_, INetFwOpenPort>) -> Result<()>;
fn Remove(
&self,
portnumber: i32,
ipprotocol: NET_FW_IP_PROTOCOL,
) -> Result<()>;
fn Item(
&self,
portnumber: i32,
ipprotocol: NET_FW_IP_PROTOCOL,
) -> Result<INetFwOpenPort>;
fn _NewEnum(&self) -> Result<IUnknown>;
}
Required Methods§
fn Count(&self) -> Result<i32>
fn Add(&self, port: Ref<'_, INetFwOpenPort>) -> Result<()>
fn Remove(&self, portnumber: i32, ipprotocol: NET_FW_IP_PROTOCOL) -> Result<()>
fn Item( &self, portnumber: i32, ipprotocol: NET_FW_IP_PROTOCOL, ) -> Result<INetFwOpenPort>
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.