pub trait EventVisitor<'path> {
// Required methods
fn push_segment(&mut self, segment: PathSegment<'path>);
fn pop_segment(&mut self);
fn visit_string<'s>(
&'s mut self,
value: &str,
) -> Result<VisitStringResult<'s, 'path>, ScannerError>;
}Required Methods§
fn push_segment(&mut self, segment: PathSegment<'path>)
fn pop_segment(&mut self)
fn visit_string<'s>( &'s mut self, value: &str, ) -> Result<VisitStringResult<'s, 'path>, ScannerError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".