Enum async_nats::jetstream::stream::DirectGetErrorKind
source · pub enum DirectGetErrorKind {
NotFound,
InvalidSubject,
TimedOut,
Request,
ErrorResponse(StatusCode, String),
Other,
}
Variants§
Trait Implementations§
source§impl Clone for DirectGetErrorKind
impl Clone for DirectGetErrorKind
source§fn clone(&self) -> DirectGetErrorKind
fn clone(&self) -> DirectGetErrorKind
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 DirectGetErrorKind
impl Debug for DirectGetErrorKind
source§impl Display for DirectGetErrorKind
impl Display for DirectGetErrorKind
source§impl PartialEq for DirectGetErrorKind
impl PartialEq for DirectGetErrorKind
source§fn eq(&self, other: &DirectGetErrorKind) -> bool
fn eq(&self, other: &DirectGetErrorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DirectGetErrorKind
Auto Trait Implementations§
impl RefUnwindSafe for DirectGetErrorKind
impl Send for DirectGetErrorKind
impl Sync for DirectGetErrorKind
impl Unpin for DirectGetErrorKind
impl UnwindSafe for DirectGetErrorKind
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