make more APIs public (#55)

This commit is contained in:
Carl Lerche
2020-06-12 15:15:51 -07:00
committed by GitHub
parent f1042d6b7c
commit 03f8281431
7 changed files with 18 additions and 17 deletions

View File

@@ -5,8 +5,9 @@ use std::io::Cursor;
use std::num::TryFromIntError;
use std::string::FromUtf8Error;
/// A frame in the Redis protocol.
#[derive(Clone, Debug)]
pub(crate) enum Frame {
pub enum Frame {
Simple(String),
Error(String),
Integer(u64),