memcached-async 0.0.2

Asynchronous memcached protocol parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub(crate) mod ascii;
pub(crate) mod binary;

pub use ascii::{AsciiDecoder, AsciiLimits};
pub use binary::{BinaryDecoder, BinaryLimits};

use crate::response::Response;
use crate::types::{Request, RequestMeta};

/// Decode outcome from a protocol decoder.
pub enum DecodeOutcome {
    Request(Request, RequestMeta),
    Response(RequestMeta, Response),
}