Type Alias async_nats::client::PublishError
source · pub type PublishError = Error<PublishErrorKind>;
Expand description
An error returned from the Client::publish
, Client::publish_with_headers
,
Client::publish_with_reply
or Client::publish_with_reply_and_headers
functions.
Aliased Type§
struct PublishError { /* private fields */ }
Trait Implementations§
source§impl From<PollSendError<Command>> for PublishError
impl From<PollSendError<Command>> for PublishError
source§fn from(err: PollSendError<Command>) -> Self
fn from(err: PollSendError<Command>) -> Self
Converts to this type from the input type.