Struct async_nats::client::FlushError
source · pub struct FlushError { /* private fields */ }
Expand description
Error returned when flushing the messages buffered on the client fails. To be enumerate over the variants, call FlushError::kind.
Implementations§
source§impl FlushError
impl FlushError
pub fn kind(&self) -> FlushErrorKind
Trait Implementations§
source§impl Debug for FlushError
impl Debug for FlushError
source§impl Display for FlushError
impl Display for FlushError
source§impl Error for FlushError
impl Error for FlushError
1.30.0 · 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()
Auto Trait Implementations§
impl !RefUnwindSafe for FlushError
impl Send for FlushError
impl Sync for FlushError
impl Unpin for FlushError
impl !UnwindSafe for FlushError
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