pub struct ZSetData { /* private fields */ }Expand description
Sorted set: a member→score map plus a B-tree ordered by (score, member).
(A B-tree is cache-friendlier than Redis’s skiplist; ZRANK is O(n) here —
an order-statistics tree for O(log n) rank is a later perf item.)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZSetData
impl RefUnwindSafe for ZSetData
impl Send for ZSetData
impl Sync for ZSetData
impl Unpin for ZSetData
impl UnsafeUnpin for ZSetData
impl UnwindSafe for ZSetData
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