pub enum Error {
    InvalidCodePointInversionList(CodePointInversionListError),
    InvalidStringLength(String),
    StringListNotUnique(String),
    StringListNotSorted(StringString),
}
Expand description

Custom Errors for CodePointInversionListAndStringList.

Re-exported as Error.

Variants

InvalidCodePointInversionList(CodePointInversionListError)

An invalid CodePointInversionList was constructed

InvalidStringLength(String)

A string in the string list had an invalid length

StringListNotUnique(String)

A string in the string list appears more than once

StringListNotSorted(StringString)

Two strings in the string list compare to each other opposite of sorted order

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. 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.

Adds separators according to the given SeparatorPolicy. Read more

Inserts a comma every three digits from the right. Read more

Inserts a space every three digits from the right. Read more

Inserts a period every three digits from the right. Read more

Inserts an underscore every three digits from the right. 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.