Struct sea_streamer::ShardId
source ยท pub struct ShardId { /* private fields */ }
Expand description
Identifies a shard. Aka. partition.
Implementationsยง
Trait Implementationsยง
sourceยงimpl Ord for ShardId
impl Ord for ShardId
1.21.0 ยท sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
sourceยงimpl PartialEq for ShardId
impl PartialEq for ShardId
sourceยงimpl PartialOrd for ShardId
impl PartialOrd for ShardId
1.0.0 ยท sourceยงfn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ShardId
impl Eq for ShardId
impl StructuralPartialEq for ShardId
Auto Trait Implementationsยง
impl Freeze for ShardId
impl RefUnwindSafe for ShardId
impl Send for ShardId
impl Sync for ShardId
impl Unpin for ShardId
impl UnwindSafe for ShardId
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