Re-exports§
pub use error::Result;pub use error::TextFsmError;pub use cli_table::CliTable;pub use export::OutputFormat;pub use export::TextFsmExport;
Modules§
Structs§
- Captured
Variable - Metadata about a variable captured by a rule.
- Data
Record - Represents a single row of extracted data from a TextFSM template.
- Pair
- A matching pair of
Tokens and everything between them. - Rule
Transition - Combines line and record actions for a rule match.
- State
Compiled - A compiled state containing a list of rules.
- State
Rule - A single rule within a TextFSM state.
- State
Rule Compiled - A compiled version of a
StateRuleready for execution. - TextFSM
- The runtime engine for TextFSM parsing.
- TextFSM
Parser - The compiled TextFSM parser containing value definitions and state machines.
- Text
FsmIter - An iterator that parses input line-by-line and yields
DataRecords. - Value
Definition - Metadata and regex definition for an extracted value.
Enums§
- Data
Record Conversion - Transformation options for extracted records.
- Line
Action - Action to take regarding the current line of input.
- Multi
Regex - Wrapper for different regex engines (standard or fancy for lookarounds).
- Next
State - Represents the next state or an error condition.
- Parse
Status - Record
Action - Action to take regarding record lifecycle.
- Rule
- Value
- Represents an extracted value, which can be either a single string or a list of strings.
Traits§
- Parser
- A trait with a single method that parses strings.