Enum p2p::ConnectReusableError[]

pub enum ConnectReusableError {
    Bind(Error),
    Connect(Error),
}

Errors returned by TcpStreamExt::connect_reusable.

Variants

Failure to bind socket to address.

Connection failure.

Trait Implementations

impl Debug for ConnectReusableError
[src]

Formats the value using the given formatter. Read more

impl Display for ConnectReusableError

Formats the value using the given formatter. Read more

impl Error for ConnectReusableError

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations