Type Alias async_nats::ConnectError

source ·
pub type ConnectError = Error<ConnectErrorKind>;
Expand description

Returned when initial connection fails. To be enumerate over the variants, call ConnectError::kind.

Aliased Type§

struct ConnectError { /* private fields */ }

Trait Implementations§

source§

impl From<Error> for ConnectError

source§

fn from(err: Error) -> Self

Converts to this type from the input type.