asio
pub trait MatchCondition: Send + 'static { fn is_match(&mut self, buf: &[u8]) -> Result<usize, usize>; }
fn is_match(&mut self, buf: &[u8]) -> Result<usize, usize>
impl MatchCondition for usize
impl MatchCondition for u8
impl MatchCondition for &'static [u8]
impl MatchCondition for char
impl MatchCondition for &'static str