Struct async_nats::PublishError
source · pub struct PublishError(_);
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.
Trait Implementations§
source§impl Debug for PublishError
impl Debug for PublishError
source§impl Display for PublishError
impl Display for PublishError
source§impl Error for PublishError
impl Error for PublishError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<PublishError> for RequestError
impl From<PublishError> for RequestError
source§fn from(e: PublishError) -> Self
fn from(e: PublishError) -> Self
Converts to this type from the input type.