async_nats::client

Type Alias RequestError

Source
pub type RequestError = Error<RequestErrorKind>;
Expand description

Error returned when a core NATS request fails. To be enumerate over the variants, call RequestError::kind.

Aliased Type§

struct RequestError { /* private fields */ }

Trait Implementations§

Source§

impl From<Error<PublishErrorKind>> for RequestError

Source§

fn from(e: PublishError) -> Self

Converts to this type from the input type.
Source§

impl From<SubscribeError> for RequestError

Source§

fn from(e: SubscribeError) -> Self

Converts to this type from the input type.