pub enum ConsumerResetErrorKind {
TimedOut,
Request,
NotFound,
InvalidReset,
JetStream(Error),
}Available on crate feature
server_2_14 only.Variants§
TimedOut
Request
NotFound
Stream or consumer does not exist.
Surfaced when the server replies with CONSUMER_NOT_FOUND /
STREAM_NOT_FOUND, or via core NATS NoResponders if the JS API
has no handler for the subject.
InvalidReset
Reset request violates the consumer’s DeliverPolicy constraints
(e.g. seq below OptStartSeq, or non-zero seq with a DeliverPolicy
other than All / ByStartSequence / ByStartTime).
JetStream(Error)
Trait Implementations§
Source§impl Clone for ConsumerResetErrorKind
Available on crate feature jetstream only.
impl Clone for ConsumerResetErrorKind
Available on crate feature
jetstream only.Source§fn clone(&self) -> ConsumerResetErrorKind
fn clone(&self) -> ConsumerResetErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConsumerResetErrorKind
Available on crate feature jetstream only.
impl Debug for ConsumerResetErrorKind
Available on crate feature
jetstream only.Source§impl Display for ConsumerResetErrorKind
Available on crate feature jetstream only.
impl Display for ConsumerResetErrorKind
Available on crate feature
jetstream only.Source§impl PartialEq for ConsumerResetErrorKind
Available on crate feature jetstream only.
impl PartialEq for ConsumerResetErrorKind
Available on crate feature
jetstream only.Source§fn eq(&self, other: &ConsumerResetErrorKind) -> bool
fn eq(&self, other: &ConsumerResetErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConsumerResetErrorKind
Available on crate feature
jetstream only.Auto Trait Implementations§
impl Freeze for ConsumerResetErrorKind
impl RefUnwindSafe for ConsumerResetErrorKind
impl Send for ConsumerResetErrorKind
impl Sync for ConsumerResetErrorKind
impl Unpin for ConsumerResetErrorKind
impl UnsafeUnpin for ConsumerResetErrorKind
impl UnwindSafe for ConsumerResetErrorKind
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