mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
feat: kv for reverse lookup (#2445)
This commit is contained in:
@ -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)
|
||||
/// }
|
||||
/// }
|
||||
/// }
|
||||
|
||||
Reference in New Issue
Block a user