Enum sea_streamer_redis::ShardOwnership
source · pub enum ShardOwnership {
Shared,
Owned,
}
Expand description
The shard ownership model.
Variants§
Consumers in the same group share the same shard
Owned
Consumers claim ownership of a shard
This feature is still WIP
Trait Implementations§
source§impl Clone for ShardOwnership
impl Clone for ShardOwnership
source§fn clone(&self) -> ShardOwnership
fn clone(&self) -> ShardOwnership
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 ShardOwnership
impl Debug for ShardOwnership
source§impl PartialEq for ShardOwnership
impl PartialEq for ShardOwnership
source§fn eq(&self, other: &ShardOwnership) -> bool
fn eq(&self, other: &ShardOwnership) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ShardOwnership
impl Eq for ShardOwnership
impl StructuralPartialEq for ShardOwnership
Auto Trait Implementations§
impl Freeze for ShardOwnership
impl RefUnwindSafe for ShardOwnership
impl Send for ShardOwnership
impl Sync for ShardOwnership
impl Unpin for ShardOwnership
impl UnwindSafe for ShardOwnership
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