Enum colonnade::ColonnadeError
source · pub enum ColonnadeError {
InconsistentColumns(usize, usize, usize),
OutOfBounds,
InsufficientColumns,
InsufficientSpace,
MinGreaterThanMax(usize),
}
Expand description
All the things that can go wrong when laying out tabular data.
Variants§
InconsistentColumns(usize, usize, usize)
The data to display is inconsistent with the spec. The tuple values are the index of the data row, its length, and the expected length.
OutOfBounds
The column index provided is outside the columns available.
InsufficientColumns
The column count parameter given to the constructor was 0.
InsufficientSpace
The minimum space required by the columns is greater than the viewport.
MinGreaterThanMax(usize)
The minimum and maximum width of a column conflict. The stored parameter is the column index.
Trait Implementations§
source§impl Debug for ColonnadeError
impl Debug for ColonnadeError
source§impl Display for ColonnadeError
impl Display for ColonnadeError
source§impl Error for ColonnadeError
impl Error for ColonnadeError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl RefUnwindSafe for ColonnadeError
impl Send for ColonnadeError
impl Sync for ColonnadeError
impl Unpin for ColonnadeError
impl UnwindSafe for ColonnadeError
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