pub struct SocketError;
Available on crate feature
socket
only.Expand description
Get and clear the pending socket error.
Trait Implementations§
source§impl Clone for SocketError
impl Clone for SocketError
source§fn clone(&self) -> SocketError
fn clone(&self) -> SocketError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SocketError
impl Debug for SocketError
source§impl GetSockOpt for SocketError
impl GetSockOpt for SocketError
source§impl Hash for SocketError
impl Hash for SocketError
source§impl PartialEq<SocketError> for SocketError
impl PartialEq<SocketError> for SocketError
source§fn eq(&self, other: &SocketError) -> bool
fn eq(&self, other: &SocketError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.