pub struct Limits {
pub max_listpack_entries: usize,
pub max_listpack_value: usize,
}Expand description
Where a sorted set stops being one packed blob.
Fields§
§max_listpack_entries: usizeAt this many members a sorted set stops being a listpack.
max_listpack_value: usizeA member longer than this cannot go in a listpack.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limits
impl UnwindSafe for Limits
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