pub trait IDynamicPortMapping_Impl: Sized + IDispatch_Impl {
Show 14 methods // Required methods fn ExternalIPAddress(&self) -> Result<BSTR>; fn RemoteHost(&self) -> Result<BSTR>; fn ExternalPort(&self) -> Result<i32>; fn Protocol(&self) -> Result<BSTR>; fn InternalPort(&self) -> Result<i32>; fn InternalClient(&self) -> Result<BSTR>; fn Enabled(&self) -> Result<VARIANT_BOOL>; fn Description(&self) -> Result<BSTR>; fn LeaseDuration(&self) -> Result<i32>; fn RenewLease(&self, lleasedurationdesired: i32) -> Result<i32>; fn EditInternalClient(&self, bstrinternalclient: &BSTR) -> Result<()>; fn Enable(&self, vb: VARIANT_BOOL) -> Result<()>; fn EditDescription(&self, bstrdescription: &BSTR) -> Result<()>; fn EditInternalPort(&self, linternalport: i32) -> Result<()>;
}

Required Methods§

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

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

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

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

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

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

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

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

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

fn RenewLease(&self, lleasedurationdesired: i32) -> Result<i32>

fn EditInternalClient(&self, bstrinternalclient: &BSTR) -> Result<()>

fn Enable(&self, vb: VARIANT_BOOL) -> Result<()>

fn EditDescription(&self, bstrdescription: &BSTR) -> Result<()>

fn EditInternalPort(&self, linternalport: i32) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§