Method lrs::socket::Socket::set_send_timeout

Sets the timeout option of sending operations.

Syntax

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

Arguments

NameDescription
val

The timeout option of sending operations.

Remarks

A None argument implies that operations never time-out.

See also