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