Enum smoltcp::socket::tcp::ConnectError
source · pub enum ConnectError {
InvalidState,
Unaddressable,
}
Expand description
Error returned by Socket::connect
Variants§
Trait Implementations§
source§impl Clone for ConnectError
impl Clone for ConnectError
source§fn clone(&self) -> ConnectError
fn clone(&self) -> ConnectError
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 ConnectError
impl Debug for ConnectError
source§impl PartialEq<ConnectError> for ConnectError
impl PartialEq<ConnectError> for ConnectError
source§fn eq(&self, other: &ConnectError) -> bool
fn eq(&self, other: &ConnectError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.