Enum async_nats::client::RequestErrorKind
source · pub enum RequestErrorKind {
TimedOut,
NoResponders,
Other,
}
Variants§
TimedOut
There are services listening on requested subject, but they didn’t respond in time.
NoResponders
No one is listening on request subject.
Other
Other errors, client/io related.
Trait Implementations§
source§impl Clone for RequestErrorKind
impl Clone for RequestErrorKind
source§fn clone(&self) -> RequestErrorKind
fn clone(&self) -> RequestErrorKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RequestErrorKind
impl Debug for RequestErrorKind
source§impl Display for RequestErrorKind
impl Display for RequestErrorKind
source§impl PartialEq for RequestErrorKind
impl PartialEq for RequestErrorKind
source§fn eq(&self, other: &RequestErrorKind) -> bool
fn eq(&self, other: &RequestErrorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RequestErrorKind
impl StructuralPartialEq for RequestErrorKind
Auto Trait Implementations§
impl RefUnwindSafe for RequestErrorKind
impl Send for RequestErrorKind
impl Sync for RequestErrorKind
impl Unpin for RequestErrorKind
impl UnwindSafe for RequestErrorKind
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