[][src]Trait unsafe_io::IntoUnsafeSocket

pub trait IntoUnsafeSocket {
    pub fn into_unsafe_socket(self) -> UnsafeSocket;

    pub fn into_tcp_stream(self) -> TcpStream
    where
        Self: Sized
, { ... } }

A trait for types which can be converted into unsafe sockets.

Required methods

pub fn into_unsafe_socket(self) -> UnsafeSocket[src]

Convert self into an unsafe socket.

Loading content...

Provided methods

pub fn into_tcp_stream(self) -> TcpStream where
    Self: Sized
[src]

Utility for converting self into a TcpStream.

Loading content...

Implementors

impl<T: IntoRawFd> IntoUnsafeSocket for T[src]

Loading content...