Skip to main content

IntoRedisName

Trait IntoRedisName 

Source
pub trait IntoRedisName {
    // Required method
    fn into_name(self) -> String;
}
Expand description

Redis 连接名的抽象,用户可为枚举实现此 trait 以获得编译时检查。

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoRedisName for &str

Source§

impl IntoRedisName for String

Implementors§