base proxy ready
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use bytes::BytesMut;
|
||||
|
||||
pub trait FrameParser {
|
||||
pub trait Parser {
|
||||
type Error;
|
||||
fn can_parse(bytes: &BytesMut) -> bool;
|
||||
fn parse(bytes: &mut BytesMut) -> Result<Option<Self>, Self::Error>
|
||||
|
||||
Reference in New Issue
Block a user