pub struct StreamConsumerMeta {
pub pending_number: u64,
pub last_attempted_interaction_ms: u64,
pub last_successful_interaction_ms: u64,
}Expand description
Consumer metadata (aligned with Apache Kvrocks StreamConsumerMetadata 24-byte format). 消费者元数据(对标 Apache Kvrocks StreamConsumerMetadata 24字节)
Fields§
§pending_number: u64§last_attempted_interaction_ms: u64§last_successful_interaction_ms: u64Implementations§
Trait Implementations§
Source§impl Clone for StreamConsumerMeta
impl Clone for StreamConsumerMeta
Source§fn clone(&self) -> StreamConsumerMeta
fn clone(&self) -> StreamConsumerMeta
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 StreamConsumerMeta
impl Debug for StreamConsumerMeta
impl<'__de> Decode<'__de> for StreamConsumerMetawhere
'__de:,
Source§impl Default for StreamConsumerMeta
impl Default for StreamConsumerMeta
Source§fn default() -> StreamConsumerMeta
fn default() -> StreamConsumerMeta
Returns the “default value” for a type. Read more
impl Encode for StreamConsumerMeta
impl Eq for StreamConsumerMeta
Source§impl PartialEq for StreamConsumerMeta
impl PartialEq for StreamConsumerMeta
impl StructuralPartialEq for StreamConsumerMeta
Auto Trait Implementations§
impl Freeze for StreamConsumerMeta
impl RefUnwindSafe for StreamConsumerMeta
impl Send for StreamConsumerMeta
impl Sync for StreamConsumerMeta
impl Unpin for StreamConsumerMeta
impl UnsafeUnpin for StreamConsumerMeta
impl UnwindSafe for StreamConsumerMeta
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
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.