[−][src]Struct streamson_lib::handler::analyser::Analyser
Implementations
impl Analyser
[src]
pub fn new() -> Self
[src]
Creates a new handler analyser Which stores paths to analyse the structure of the JSON
pub fn results(&self) -> Vec<(String, usize)>
[src]
Results of analysis
Trait Implementations
impl Debug for Analyser
[src]
impl Default for Analyser
[src]
impl Handler for Analyser
[src]
pub fn handle(
&mut self,
path: &Path,
_matcher_idx: usize,
_data: Option<&[u8]>
) -> Result<Option<Vec<u8>>, Handler>
[src]
&mut self,
path: &Path,
_matcher_idx: usize,
_data: Option<&[u8]>
) -> Result<Option<Vec<u8>>, Handler>
pub fn use_path(&self) -> bool
[src]
pub fn buffering_required(&self) -> bool
[src]
pub fn handle_idx(
&mut self,
_path: &Path,
_matcher_idx: usize,
_idx: Output
) -> Result<(), Handler>
[src]
&mut self,
_path: &Path,
_matcher_idx: usize,
_idx: Output
) -> Result<(), Handler>
pub fn separator(&self) -> &str
[src]
Auto Trait Implementations
impl RefUnwindSafe for Analyser
impl Send for Analyser
impl Sync for Analyser
impl Unpin for Analyser
impl UnwindSafe for Analyser
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,