[][src]Enum ispell::IspellResult

pub enum IspellResult {
    Ok,
    Root(String),
    Compound,
    Miss(IspellError),
    Guess(IspellError),
    None(IspellError),
}

A result from ispell, corresponding to a line that is sent back for each word.

See the manpage ispell(1) for more informations about the meaning of each variant.

Variants

Ok

The word was found in the dictionnary.

Corresponds to '*'

Root(String)

The word wasn't found, but a root word was found.

Corresponds to '+'

Compound

The word wasn't found, but corresponds to the concatenation of two words

Corresponds to '-'

The word wasn't found, but there are near misses

Corresponds to '&'

The word wasn't found, but could be formed by adding illegal affixes to a known root

Corresponds to '?'

The word wasn't found in the dictionnary and there are no suggestions

Corresponds to '#'

Trait Implementations

impl Debug for IspellResult[src]

impl PartialEq<IspellResult> for IspellResult[src]

impl StructuralPartialEq for IspellResult[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, 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.