pub trait ToStringBytes {
    // Required method
    fn to_string_bytes(&self) -> Option<Bytes>;
}
Expand description

Trait for string extraction of RESP2/3 frames

Required Methods§

source

fn to_string_bytes(&self) -> Option<Bytes>

Extracts Bytes of Bulk (RESP2) or BLOB (RESP3) frames None if frame was not Bulk/BLOB string

Implementations on Foreign Types§

source§

impl ToStringBytes for Frame

source§

impl ToStringBytes for Frame

Implementors§