pub struct StreamLen {
pub entry_id: StreamId,
pub with_entry_id: bool,
pub to_first: bool,
}Expand description
Domain operation (aligned with Apache Kvrocks StreamLenOpt). XLEN 配置选项(对标 Apache Kvrocks StreamLenOpt)
Fields§
§entry_id: StreamId§with_entry_id: bool§to_first: boolTrait Implementations§
impl Copy for StreamLen
impl<'__de> Decode<'__de> for StreamLenwhere
'__de:,
impl Encode for StreamLen
impl Eq for StreamLen
impl StructuralPartialEq for StreamLen
Auto Trait Implementations§
impl Freeze for StreamLen
impl RefUnwindSafe for StreamLen
impl Send for StreamLen
impl Sync for StreamLen
impl Unpin for StreamLen
impl UnsafeUnpin for StreamLen
impl UnwindSafe for StreamLen
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.