Crate textfsm_rs

Crate textfsm_rs 

Source

Re-exports§

pub use error::Result;
pub use error::TextFsmError;
pub use cli_table::CliTable;
pub use export::OutputFormat;
pub use export::TextFsmExport;

Modules§

cli_table
error
export
varsubst

Structs§

CapturedVariable
Metadata about a variable captured by a rule.
DataRecord
Represents a single row of extracted data from a TextFSM template.
Pair
A matching pair of Tokens and everything between them.
RuleTransition
Combines line and record actions for a rule match.
StateCompiled
A compiled state containing a list of rules.
StateRule
A single rule within a TextFSM state.
StateRuleCompiled
A compiled version of a StateRule ready for execution.
TextFSM
The runtime engine for TextFSM parsing.
TextFSMParser
The compiled TextFSM parser containing value definitions and state machines.
TextFsmIter
An iterator that parses input line-by-line and yields DataRecords.
ValueDefinition
Metadata and regex definition for an extracted value.

Enums§

DataRecordConversion
Transformation options for extracted records.
LineAction
Action to take regarding the current line of input.
MultiRegex
Wrapper for different regex engines (standard or fancy for lookarounds).
NextState
Represents the next state or an error condition.
ParseStatus
RecordAction
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.