Struct async_nats::client::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.
Auto Trait Implementations§
impl !RefUnwindSafe for PublishError
impl Send for PublishError
impl Sync for PublishError
impl Unpin for PublishError
impl !UnwindSafe for PublishError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more