pub enum FindKeys {
Range(FindKeysRange),
Keynum(FindKeysNum),
}
Expand description
After Redis finds the location from where it needs to start looking for keys, Redis will start finding keys base on the information in this enum. There are 2 possible options:
- Range - Required to specify additional 3 more values,
last_key
,steps
, andlimit
. - Keynum - Required to specify additional 3 more values,
keynumidx
,firstkey
, andkeystep
. Redis will consider the argument atkeynumidx
as an indicator to the number of keys that will follow. Then it will start fromfirstkey
and jump eachkeystep
to find the keys.
Variants§
Range(FindKeysRange)
Keynum(FindKeysNum)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FindKeys
impl RefUnwindSafe for FindKeys
impl Send for FindKeys
impl Sync for FindKeys
impl Unpin for FindKeys
impl UnwindSafe for FindKeys
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