Method lrs::socket::Socket::set_debug

Enables or disables debug mode for this socket.

Syntax

impl Socket {
    fn set_debug(&self, val: bool) -> Result<(), Errno>
}

Arguments

NameDescription
val

Whether debug mode is enabled.

See also