Trait redis_async::resp::ToResp [] [src]

pub trait ToResp {
    fn to_resp(&self) -> RespValue;
}

A trait to be implemented on types that can be automatically converted into RespValues.

A From<T> where T: ToResp has been implemented so that everything that implements ToResp can be converted with conversion traits.

Required Methods

Implementors