SHUT_RDWR

Constant SHUT_RDWR 

Source
pub const SHUT_RDWR: u8 = 2;
Expand description

Shutdown state of a socket. A socket shut down with SHUT_RDWR can no longer receive nor send data. See also man 2 shutdown.