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)
Encountered a {
character without matching }
.
The string is the contents of the column specifier, not including the {
character.
Tuple Fields of UnclosedColumnSpec
0: String
BadColumnSpec(String)
Did not understand the column specifiier.
The string is the contents of the column specifier, not including the {
and }
characters.
Tuple Fields of BadColumnSpec
0: String
Encountered a }
character without a prior matching {
character.
UnexpectedCharacter(char)
Encountered a character unexpected inside a column specifier.
Tuple Fields of UnexpectedCharacter
0: char
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more