pub trait INetFwService_Impl: Sized + IDispatch_Impl {
    // Required methods
    fn Name(&self) -> Result<BSTR>;
    fn Type(&self) -> Result<NET_FW_SERVICE_TYPE>;
    fn Customized(&self) -> Result<VARIANT_BOOL>;
    fn IpVersion(&self) -> Result<NET_FW_IP_VERSION>;
    fn SetIpVersion(&self, ipversion: NET_FW_IP_VERSION) -> 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 GloballyOpenPorts(&self) -> Result<INetFwOpenPorts>;
}

Required Methods§

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

fn Type(&self) -> Result<NET_FW_SERVICE_TYPE>

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

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

fn SetIpVersion(&self, ipversion: NET_FW_IP_VERSION) -> 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 GloballyOpenPorts(&self) -> Result<INetFwOpenPorts>

Object Safety§

This trait is not object safe.

Implementors§