windows::Win32::Devices::WebServicesOnDevices

Trait IWSDTransportAddress_Impl

pub trait IWSDTransportAddress_Impl: IWSDAddress_Impl {
    // Required methods
    fn GetPort(&self) -> Result<u16>;
    fn SetPort(&self, wport: u16) -> Result<()>;
    fn GetTransportAddress(&self) -> Result<PCWSTR>;
    fn GetTransportAddressEx(&self, fsafe: BOOL) -> Result<PCWSTR>;
    fn SetTransportAddress(&self, pszaddress: &PCWSTR) -> Result<()>;
}

Required Methods§

fn GetPort(&self) -> Result<u16>

fn SetPort(&self, wport: u16) -> Result<()>

fn GetTransportAddress(&self) -> Result<PCWSTR>

fn GetTransportAddressEx(&self, fsafe: BOOL) -> Result<PCWSTR>

fn SetTransportAddress(&self, pszaddress: &PCWSTR) -> Result<()>

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.

Implementors§