Skip to main content

Response

Type Alias Response 

Source
pub type Response = Value;
Expand description

RESP response type returned by handlers.

Aliased Type§

pub enum Response {
    Simple(Bytes),
    Error(Bytes),
    Integer(i64),
    Bulk(Bytes),
    Null,
    Array(Vec<Value>),
}

Variants§

§

Simple(Bytes)

§

Error(Bytes)

§

Integer(i64)

§

Bulk(Bytes)

§

Null

§

Array(Vec<Value>)

Trait Implementations§