Method lrs::socket::Socket::send_timeout

Retrieves the timeout option of sending operations.

Syntax

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

Return value

Returns the timeout of sending operations.

Remarks

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

See also