Method lrs::socket::Socket::recv_timeout

Retrieves the timeout option of receiving operations.

Syntax

impl Socket {
    fn recv_timeout(&self) -> Result<Option<Time>, Errno>
}

Return value

Returns the timeout of receiving operations.

Remarks

A return value of None implies that operations never time-out.

See also