Enum table_print::error::PrettyError[][src]

pub enum PrettyError {
    ZeroedWidth,
    NoSpaceWidth,
}

This Error is given when failing to get a pretty representation of a table using the [Table.get_pretty] command.

Variants

ZeroedWidth

This is when the available width is zero. If this is the case then it is impossible to determine cell width.

NoSpaceWidth

This referes to when a width is given but even so after the division there is 0 width.

For example, given a table of 80 elements and a width of 81 there just isn’t space to print it.

Trait Implementations

impl Clone for PrettyError[src]

impl Copy for PrettyError[src]

impl Debug for PrettyError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.