Enum mortal::sequence::FindResult [] [src]

pub enum FindResult<V> {
    NotFound,
    Incomplete,
    Undecided(V),
    Found(V),
}

Represents the result of a SequenceMap::find operation.

Variants

No contained sequences begin with the provided input sequence.

One or more sequences begin with the provided input sequence, but the sequence does not represent a complete sequence.

A sequence was found exactly matching the input sequence; additionally, one or more sequences begin with the input sequence.

A sequence was found exactly matching the input sequence; no additional partially-matching sequences exist.

Methods

impl<'a, V: Clone> FindResult<&'a V>
[src]

[src]

Maps FindResult<&V> to FindResult<V> by cloning the contents of the result value.

Trait Implementations

impl<V: Copy> Copy for FindResult<V>
[src]

impl<V: Clone> Clone for FindResult<V>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<V: Debug> Debug for FindResult<V>
[src]

[src]

Formats the value using the given formatter. Read more

impl<V: Eq> Eq for FindResult<V>
[src]

impl<V: PartialEq> PartialEq for FindResult<V>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations

impl<V> Send for FindResult<V> where
    V: Send

impl<V> Sync for FindResult<V> where
    V: Sync