Skip to main content

brz_memcache/
config.rs

1//! Public protocol selection for [`crate::CacheService`].
2
3/// Wire protocol spoken to the memcached endpoint.
4#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
5pub enum Protocol {
6    /// Classic ASCII/text protocol (`cn.vika.memcached` compatible).
7    Text,
8    /// Binary protocol (`com.schooner.MemCached` compatible).
9    #[default]
10    Binary,
11}