Enum std::net::Shutdown 1.0.0[−][src]
pub enum Shutdown {
Read,
Write,
Both,
}Expand description
可以传递给 TcpStream::shutdown 方法的可能值。
Variants
TcpStream 的读取和写入部分均应关闭。
有关更多信息,请参见 Shutdown::Read 和 Shutdown::Write。