pub fn shutdown<Fd: AsFd>(sockfd: &Fd, how: Shutdown) -> io::Result<()>
shutdown(fd, how)—Closes the read and/or write sides of a stream.
shutdown(fd, how)