pub trait Visitor<B: AsyncBufRead + Send + Unpin> {
    type Output;

    fn build(self) -> Result<Self::Output, Error>;

    fn start_name() -> Option<&'static str> { ... }
    fn visit_tag(&mut self, name: &str) -> Result<(), Error> { ... }
    fn visit_attribute(&mut self, name: &str, value: &str) -> Result<(), Error> { ... }
    fn visit_child<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        name: &'life1 str,
        reader: &'life2 mut PeekingReader<B>
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>
   where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
, { ... } fn visit_text(&mut self, text: &str) -> Result<(), Error> { ... } }

Required Associated Types

Required Methods

Provided Methods

Implementors