pub enum TextFsmError {
Template(TemplateError),
Parse(ParseError),
CliTable(CliTableError),
Io(Error),
}Expand description
Combined error type for public API.
Variants§
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<CliTableError> for TextFsmError
impl From<CliTableError> for TextFsmError
Source§fn from(source: CliTableError) -> TextFsmError
fn from(source: CliTableError) -> TextFsmError
Converts to this type from the input type.
Source§impl From<Error> for TextFsmError
impl From<Error> for TextFsmError
Source§fn from(source: Error) -> TextFsmError
fn from(source: Error) -> TextFsmError
Converts to this type from the input type.
Source§impl From<ParseError> for TextFsmError
impl From<ParseError> for TextFsmError
Source§fn from(source: ParseError) -> TextFsmError
fn from(source: ParseError) -> TextFsmError
Converts to this type from the input type.
Source§impl From<TemplateError> for TextFsmError
impl From<TemplateError> for TextFsmError
Source§fn from(source: TemplateError) -> TextFsmError
fn from(source: TemplateError) -> TextFsmError
Converts to this type from the input type.
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