Type Alias async_nats::client::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.