Trait ion_rs::SystemEventHandler [−][src]
pub trait SystemEventHandler { fn on_ivm(&mut self, _ion_version: (u8, u8)) { ... } fn on_symbol_table_append<'a>(
&'a mut self,
_symbol_table: &'a SymbolTable,
_starting_id: usize
) { ... } fn on_symbol_table_reset<'a>(&'a mut self, _symbol_table: &'a SymbolTable) { ... } }
Functions that will be called when the reader handles system-level events that would otherwise not be surfaced to the user level.
Provided methods
fn on_ivm(&mut self, _ion_version: (u8, u8))
[src]
Invoked when the cursor encounters an Ion Version Marker.
fn on_symbol_table_append<'a>(
&'a mut self,
_symbol_table: &'a SymbolTable,
_starting_id: usize
)
[src]
&'a mut self,
_symbol_table: &'a SymbolTable,
_starting_id: usize
)
Invoked when new symbols are added to the end of the existing table.
fn on_symbol_table_reset<'a>(&'a mut self, _symbol_table: &'a SymbolTable)
[src]
Invoked when the active symbol table is reset, potentially defining new symbols.