pub enum ColonnadeError {
    InconsistentColumns(usizeusizeusize),
    OutOfBounds,
    InsufficientColumns,
    InsufficientSpace,
    MinGreaterThanMax(usize),
}
Expand description

All the things that can go wrong when laying out tabular data.

Variants§

§

InconsistentColumns(usizeusizeusize)

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§

Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
The lower-level source of this error, if any. Read more
👎Deprecated since 1.42.0: use the Display impl or to_string()
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to provide by using demand. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.