pub trait INetFwOpenPort_Impl: Sized + IDispatch_Impl {
Show 15 methods // Required methods fn Name(&self) -> Result<BSTR>; fn SetName(&self, name: &BSTR) -> Result<()>; fn IpVersion(&self) -> Result<NET_FW_IP_VERSION>; fn SetIpVersion(&self, ipversion: NET_FW_IP_VERSION) -> Result<()>; fn Protocol(&self) -> Result<NET_FW_IP_PROTOCOL>; fn SetProtocol(&self, ipprotocol: NET_FW_IP_PROTOCOL) -> Result<()>; fn Port(&self) -> Result<i32>; fn SetPort(&self, portnumber: i32) -> Result<()>; fn Scope(&self) -> Result<NET_FW_SCOPE>; fn SetScope(&self, scope: NET_FW_SCOPE) -> Result<()>; fn RemoteAddresses(&self) -> Result<BSTR>; fn SetRemoteAddresses(&self, remoteaddrs: &BSTR) -> Result<()>; fn Enabled(&self) -> Result<VARIANT_BOOL>; fn SetEnabled(&self, enabled: VARIANT_BOOL) -> Result<()>; fn BuiltIn(&self) -> Result<VARIANT_BOOL>;
}

Required Methods§

fn Name(&self) -> Result<BSTR>

fn SetName(&self, name: &BSTR) -> Result<()>

fn IpVersion(&self) -> Result<NET_FW_IP_VERSION>

fn SetIpVersion(&self, ipversion: NET_FW_IP_VERSION) -> Result<()>

fn Protocol(&self) -> Result<NET_FW_IP_PROTOCOL>

fn SetProtocol(&self, ipprotocol: NET_FW_IP_PROTOCOL) -> Result<()>

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

fn SetPort(&self, portnumber: i32) -> Result<()>

fn Scope(&self) -> Result<NET_FW_SCOPE>

fn SetScope(&self, scope: NET_FW_SCOPE) -> Result<()>

fn RemoteAddresses(&self) -> Result<BSTR>

fn SetRemoteAddresses(&self, remoteaddrs: &BSTR) -> Result<()>

fn Enabled(&self) -> Result<VARIANT_BOOL>

fn SetEnabled(&self, enabled: VARIANT_BOOL) -> Result<()>

fn BuiltIn(&self) -> Result<VARIANT_BOOL>

Object Safety§

This trait is not object safe.

Implementors§