pub enum TextFsmError {
IoError(Error),
CsvError(Error),
ParseError(String),
StateError(String),
InternalError(String),
}Expand description
Custom error type for TextFSM operations.
Variants§
IoError(Error)
Errors related to file I/O.
CsvError(Error)
Errors related to CSV parsing.
ParseError(String)
Errors occurring during the parsing of templates or variable strings.
StateError(String)
Errors related to invalid states or state transitions.
InternalError(String)
Unrecoverable internal library errors.
Trait Implementations§
Source§impl Debug for TextFsmError
impl Debug for TextFsmError
Source§impl Display for TextFsmError
impl Display for TextFsmError
Source§impl Error for TextFsmError
impl Error for TextFsmError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for TextFsmError
impl From<Error> for TextFsmError
Auto Trait Implementations§
impl Freeze for TextFsmError
impl !RefUnwindSafe for TextFsmError
impl Send for TextFsmError
impl Sync for TextFsmError
impl Unpin for TextFsmError
impl !UnwindSafe for TextFsmError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more