#[repr(u32)]
pub enum Timeout {
Recv,
Send,
}
Expand description
Timeout identifier for use with set_socket_timeout
and
get_socket_timeout
.
Variants
Recv
SO_RCVTIMEO
—Timeout for receiving.
Send
SO_SNDTIMEO
—Timeout for sending.