pub enum ConsumerMode {
    RealTime,
    Resumable,
    LoadBalanced,
}Expand description
Mode of stream consumption.
Variants§
RealTime
This is the ‘vanilla’ stream consumer. It does not auto-commit, and thus only consumes messages from now on.
Resumable
When the process restarts, it will resume the stream from the previous committed sequence.
LoadBalanced
You should assign a consumer group manually. The load-balancing mechanism is implementation-specific.
Trait Implementations§
source§impl Clone for ConsumerMode
 
impl Clone for ConsumerMode
source§fn clone(&self) -> ConsumerMode
 
fn clone(&self) -> ConsumerMode
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 ConsumerMode
 
impl Debug for ConsumerMode
source§impl Default for ConsumerMode
 
impl Default for ConsumerMode
source§fn default() -> ConsumerMode
 
fn default() -> ConsumerMode
Returns the “default value” for a type. Read more
source§impl PartialEq for ConsumerMode
 
impl PartialEq for ConsumerMode
impl Copy for ConsumerMode
impl Eq for ConsumerMode
impl StructuralPartialEq for ConsumerMode
Auto Trait Implementations§
impl Freeze for ConsumerMode
impl RefUnwindSafe for ConsumerMode
impl Send for ConsumerMode
impl Sync for ConsumerMode
impl Unpin for ConsumerMode
impl UnwindSafe for ConsumerMode
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.