pub trait INetFwOpenPorts_Impl: Sized + IDispatch_Impl {
// Required methods
fn Count(&self) -> Result<i32>;
fn Add(&self, port: Option<&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: Option<&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>
Object Safety§
This trait is not object safe.