Enum websocket::receiver::Shutdown 1.0.0
[−]
[src]
pub enum Shutdown {
Read,
Write,
Both,
}Variants
ReadThe reading portion of the TcpStream should be shut down.
WriteThe writing portion of the TcpStream should be shut down.
All currently blocked and future writes will return an error.
BothBoth the reading and the writing portions of the TcpStream should be shut down.
See Shutdown::Read and Shutdown::Write for more information.
Trait Implementations
impl Copy for Shutdown[src]
impl Debug for Shutdown[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more
impl PartialEq<Shutdown> for Shutdown[src]
fn eq(&self, __arg_0: &Shutdown) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool[src]
This method tests for !=.