Enum redis_driver::GetExOptions
source · [−]Expand description
Options for the getex command
Variants
Ex(u64)
Set the specified expire time, in seconds.
Px(u64)
Set the specified expire time, in milliseconds.
Exat(u64)
Set the specified Unix time at which the key will expire, in seconds.
Pxat(u64)
Set the specified Unix time at which the key will expire, in milliseconds.
Persist
Remove the time to live associated with the key.
Trait Implementations
sourceimpl IntoArgs for GetExOptions
impl IntoArgs for GetExOptions
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for GetExOptions
impl Send for GetExOptions
impl Sync for GetExOptions
impl Unpin for GetExOptions
impl UnwindSafe for GetExOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more