Enum asio::Shutdown [] [src]

pub enum Shutdown {
    Read,
    Write,
    Both,
}

Possible values which can be passed to the shutdown method.

Variants

Read

Indicates that the reading portion of this socket should be shut down.

Write

Indicates that the writing portion of this socket should be shut down.

Both

Shut down both the reading and writing portions of this socket.