Struct resp_protocol::simple_string::SimpleString [−][src]
pub struct SimpleString(_);
Implementations
Simple string type
Build a new Simple string
Example
use resp_protocol::SimpleString;
let simple_string = SimpleString::new(b"OK");
pub fn parse(
input: &[u8],
start: &mut usize,
end: &usize
) -> Result<SimpleString, SimpleStringError>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.