Method lrs::socket::Socket::error

Retrieves the last pending socket error.

Syntax

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

Return value

Returns the last socket error.

See also