brz-memcache 0.0.6

Asynchronous memcached client with sharding, failover, and live configuration
Documentation
1
2
3
4
5
6
7
8
9
10
#[derive(Debug, Clone, Default)]
pub struct Padding;

impl Padding {
    //  用于服务框架的占位
    pub fn index(&self, _hash: i64) -> usize {
        tracing::warn!("+++ careful - should not padding dist with {}", _hash);
        1
    }
}