Skip to main content

put

Function put 

Source
pub async fn put<T: Serialize>(key: &str, value: &T) -> Result<(), AppError>
Expand description

Stores value (JSON-serialized) under key, overwriting any existing value.