pub trait SocketError {
// Required method
fn take_socket_error(&self) -> Result<()>;
}Required Methods§
fn take_socket_error(&self) -> Result<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl SocketError for TcpStream
impl SocketError for TcpStream
fn take_socket_error(&self) -> Result<()>
Source§impl SocketError for UnixStream
Available on Unix only.
impl SocketError for UnixStream
Available on Unix only.