pub enum PagingReply {
Located(u64),
Ok,
Miss,
Err,
Bye,
}Expand description
Result of one control request, ready to serialize.
Variants§
Located(u64)
ST_OK with a following u64 arena offset (ALLOC and GET-hit).
Ok
ST_OK with no payload (COMMIT, REMOVE).
Miss
ST_MISS — unknown key (GET).
Err
ST_ERR — operation failed (e.g. arena exhausted by reservations).
Bye
Client asked to close.
Trait Implementations§
Source§impl Debug for PagingReply
impl Debug for PagingReply
Source§impl PartialEq for PagingReply
impl PartialEq for PagingReply
impl Eq for PagingReply
impl StructuralPartialEq for PagingReply
Auto Trait Implementations§
impl Freeze for PagingReply
impl RefUnwindSafe for PagingReply
impl Send for PagingReply
impl Sync for PagingReply
impl Unpin for PagingReply
impl UnwindSafe for PagingReply
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.