Method lrs::socket::Socket::shutdown

Shuts down the receiving and sending ends of a connected socket.

Syntax

impl Socket {
    fn shutdown(&self) -> Result<(), Errno>
}

See also