Method lrs::socket::Socket::kind

Retrieves the kind of the socket.

Syntax

impl Socket {
    fn kind(&self) -> Result<Kind, Errno>
}

Return value

Returns the kind of the socket.

See also