pub struct Unstringify { /* private fields */ }
Expand description
Handler which unstringifies the matched data
Implementations§
Source§impl Unstringify
impl Unstringify
Trait Implementations§
Source§impl Debug for Unstringify
impl Debug for Unstringify
Source§impl Default for Unstringify
impl Default for Unstringify
Source§fn default() -> Unstringify
fn default() -> Unstringify
Returns the “default value” for a type. Read more
Source§impl FromStr for Unstringify
impl FromStr for Unstringify
Source§impl Handler for Unstringify
impl Handler for Unstringify
Source§fn start(
&mut self,
_path: &Path,
_matcher_idx: usize,
token: Token,
) -> Result<Option<Vec<u8>>, Handler>
fn start( &mut self, _path: &Path, _matcher_idx: usize, token: Token, ) -> Result<Option<Vec<u8>>, Handler>
Is called when a path is matched Read more
Source§fn feed(
&mut self,
data: &[u8],
_matcher_idx: usize,
) -> Result<Option<Vec<u8>>, Handler>
fn feed( &mut self, data: &[u8], _matcher_idx: usize, ) -> Result<Option<Vec<u8>>, Handler>
Is called when handler receives some data Read more
Source§fn end(
&mut self,
_path: &Path,
_matcher_idx: usize,
_token: Token,
) -> Result<Option<Vec<u8>>, Handler>
fn end( &mut self, _path: &Path, _matcher_idx: usize, _token: Token, ) -> Result<Option<Vec<u8>>, Handler>
Is called when the path is no longer matched Read more
Source§fn is_converter(&self) -> bool
fn is_converter(&self) -> bool
Should be handler used to convert data
Auto Trait Implementations§
impl Freeze for Unstringify
impl RefUnwindSafe for Unstringify
impl Send for Unstringify
impl Sync for Unstringify
impl Unpin for Unstringify
impl UnwindSafe for Unstringify
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more