rux
pub fn shutdown(df: i32, how: Shutdown) -> Result<(), Error>
Shut down part of a full-duplex connection.
Further reading