Struct memcache_async::ascii::Protocol [−][src]
pub struct Protocol<S: AsyncRead + AsyncWrite> { /* fields omitted */ }
Implementations
Returns the value for given key as bytes. If the value doesn’t exist, std::io::ErrorKind::NotFound
is returned.
Returns values for multiple keys in a single call as a HashMap
from keys to found values.
If a key is not present in memcached it will be absent from returned map.
Get up to limit
keys which match the given prefix. Returns a HashMap from keys to found values.
This is not part of the Memcached standard, but some servers implement it nonetheless.
Add a key. If the value exist, std::io::ErrorKind::AllreadyExists
is returned.
Set key to given value and don’t wait for response.
Delete a key and don’t wait for response.
Auto Trait Implementations
impl<S> RefUnwindSafe for Protocol<S> where
S: RefUnwindSafe,
impl<S> UnwindSafe for Protocol<S> where
S: UnwindSafe,