Skip to main content

Crate memcached_async

Crate memcached_async 

Source
Expand description

Async memcached protocol framework (ASCII/meta/binary).

Modules§

extract

Structs§

AsciiDecoder
Streaming ASCII/meta decoder.
BinaryDecoder
Binary protocol decoder.
ClientId
Client id wrapper.
ConnectionInfo
Connection-level info for extension factories.
Deleted
Deleted response marker.
Error
Protocol-agnostic error type returned by handlers.
Exists
Exists response marker.
Extensions
Typed extensions map stored in the request context.
MetaExtra
Extra meta flags (W/X/Z).
MetaFlag
A single meta flag token.
MetaFlags
Ordered meta flags with a compact mask for fast lookup.
MetaResponse
Meta response payload.
NotFound
Not-found response marker.
NotStored
Not-stored response marker.
OkResponse
Ok response marker.
Request
Parsed request from any protocol.
RequestContext
Per-request context passed to handlers.
RequestMeta
Protocol-specific metadata carried with a request.
Router
Router mapping operations to handlers.
Server
Server entry point.
ServerBuilder
Server builder for configuring runtime.
ServerConfig
Server configuration.
StatLine
A stat line (key/value pair).
Stored
Stored response marker.
Touched
Touched response marker.
ValueEntry
A single value entry for get/gets responses.
Version
Version response wrapper.

Enums§

ErrorKind
Error category for protocol mapping.
MetaCode
Meta response status code.
Op
Canonical memcached operation.
Protocol
Connection-level protocol.
ReplyMode
Reply suppression policy.
Response
Protocol-agnostic response type.
WinState

Traits§

FromRequest
Extract a typed value from a request context.
Handler
Handler for a memcached operation.
IntoHandler
IntoResponse
Convert handler output into a Response.
StatsStream
Streaming stats iterator.
ValuesStream
Streaming values iterator.

Type Aliases§

Result
Framework error result.