[][src]Trait uikit_sys::INSSocketPort

pub trait INSSocketPort: Sized + Deref {
    unsafe fn init(self) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithTCPPort_(self, port: c_ushort) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithProtocolFamily_socketType_protocol_address_(
        self,
        family: c_int,
        type_: c_int,
        protocol: c_int,
        address: NSData
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithProtocolFamily_socketType_protocol_socket_(
        self,
        family: c_int,
        type_: c_int,
        protocol: c_int,
        sock: NSSocketNativeHandle
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initRemoteWithTCPPort_host_(
        self,
        port: c_ushort,
        hostName: NSString
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initRemoteWithProtocolFamily_socketType_protocol_address_(
        self,
        family: c_int,
        type_: c_int,
        protocol: c_int,
        address: NSData
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn protocolFamily(self) -> c_int
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn socketType(self) -> c_int
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn protocol(self) -> c_int
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn address(self) -> NSData
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn socket(self) -> NSSocketNativeHandle
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn init(self) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithTCPPort_(self, port: c_ushort) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithProtocolFamily_socketType_protocol_address_(
    self,
    family: c_int,
    type_: c_int,
    protocol: c_int,
    address: NSData
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithProtocolFamily_socketType_protocol_socket_(
    self,
    family: c_int,
    type_: c_int,
    protocol: c_int,
    sock: NSSocketNativeHandle
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initRemoteWithTCPPort_host_(
    self,
    port: c_ushort,
    hostName: NSString
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initRemoteWithProtocolFamily_socketType_protocol_address_(
    self,
    family: c_int,
    type_: c_int,
    protocol: c_int,
    address: NSData
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn protocolFamily(self) -> c_int where
    Self::Target: Message + Sized

unsafe fn socketType(self) -> c_int where
    Self::Target: Message + Sized

unsafe fn protocol(self) -> c_int where
    Self::Target: Message + Sized

unsafe fn address(self) -> NSData where
    Self::Target: Message + Sized

unsafe fn socket(self) -> NSSocketNativeHandle where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSSocketPort for NSSocketPort[src]

Loading content...