feat: kv for reverse lookup (#2445)

This commit is contained in:
Kartikeya Hegde
2023-10-10 14:35:00 +05:30
committed by GitHub
parent 4b0fa1295c
commit 13aaf96db0
16 changed files with 453 additions and 163 deletions

View File

@ -544,7 +544,7 @@ pub fn validate_config(input: proc_macro::TokenStream) -> proc_macro::TokenStrea
/// ```
/// #[derive(TryGetEnumVariant)]
/// #[error(RedisError(UnknownResult))]
/// struct Result {
/// enum Result {
/// Set(String),
/// Get(i32)
/// }
@ -564,7 +564,7 @@ pub fn validate_config(input: proc_macro::TokenStream) -> proc_macro::TokenStrea
/// fn try_into_set(&self)-> Result<String, RedisError> {
/// match self {
/// Self::Set(a) => Ok(a),
/// _=>Err(RedisError::UnknownResult)
/// _=> Err(RedisError::UnknownResult)
/// }
/// }
/// }