Struct streamson_lib::handler::regex::Regex [−][src]
pub struct Regex { /* fields omitted */ }
Converts data using regex
Implementations
Trait Implementations
impl Handler for Regex
[src]
impl Handler for Regex
[src]fn feed(
&mut self,
data: &[u8],
_matcher_idx: usize
) -> Result<Option<Vec<u8>>, Handler>
[src]
fn feed(
&mut self,
data: &[u8],
_matcher_idx: usize
) -> Result<Option<Vec<u8>>, Handler>
[src]Is called when handler receives some data Read more
fn end(
&mut self,
_path: &Path,
_matcher_idx: usize,
_token: Token
) -> Result<Option<Vec<u8>>, Handler>
[src]
fn end(
&mut self,
_path: &Path,
_matcher_idx: usize,
_token: Token
) -> Result<Option<Vec<u8>>, Handler>
[src]Is called when the path is no longer matched Read more
fn is_converter(&self) -> bool
[src]
fn is_converter(&self) -> bool
[src]Should be handler used to convert data