pub enum DesignTableError {
Csv(CsvError),
NoHeader,
NoRows,
UnknownColumn {
column: String,
known: Vec<String>,
},
DuplicateColumn {
column: String,
},
Width {
row: usize,
expected: usize,
found: usize,
},
Value {
row: usize,
column: String,
source: DesignTableValueError,
},
}Expand description
A design table that yields no configs.
Variants§
Csv(CsvError)
Text that is not CSV.
NoHeader
Text with no header.
NoRows
A header with no row after it.
UnknownColumn
A column that matches no parameter id and no action.<name>.
Fields
DuplicateColumn
A column that appears twice in the header.
Width
Row row, with found fields where the header has expected.
Fields
Value
A value in row row that column column rejects.
Trait Implementations§
Source§impl Clone for DesignTableError
impl Clone for DesignTableError
Source§impl Debug for DesignTableError
impl Debug for DesignTableError
Source§impl Display for DesignTableError
impl Display for DesignTableError
impl Eq for DesignTableError
Source§impl Error for DesignTableError
impl Error for DesignTableError
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 PartialEq for DesignTableError
impl PartialEq for DesignTableError
impl StructuralPartialEq for DesignTableError
Auto Trait Implementations§
impl Freeze for DesignTableError
impl RefUnwindSafe for DesignTableError
impl Send for DesignTableError
impl Sync for DesignTableError
impl Unpin for DesignTableError
impl UnsafeUnpin for DesignTableError
impl UnwindSafe for DesignTableError
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