Enum tabular::Error [−][src]
pub enum Error {
UnclosedColumnSpec(String),
BadColumnSpec(String),
UnexpectedRightBrace,
UnexpectedCharacter(char),
}
Expand description
Errors from parsing the table format string.
Returned by Table::new_safe()
.
Variants
UnclosedColumnSpec(String)
Tuple Fields
0: String
Encountered a {
character without matching }
.
The string is the contents of the column specifier, not including the {
character.
BadColumnSpec(String)
Tuple Fields
0: String
Did not understand the column specifiier.
The string is the contents of the column specifier, not including the {
and }
characters.
UnexpectedRightBrace
Encountered a }
character without a prior matching {
character.
UnexpectedCharacter(char)
Tuple Fields
0: char
Encountered a character unexpected inside a column specifier.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more