pub struct SetCommand { /* fields omitted */ }
Set the specified expire time, in seconds.
Set the specified expire time, in milliseconds.
Only set the key if it already exist.
Only set the key if it does not already exist.
Retain the time to live associated with the key.
Convert command to a redis request
Create command response from a redis response
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the current Span, returning an
Instrumented wrapper. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.