Enum mortal::sequence::FindResult
[−]
[src]
pub enum FindResult<V> { NotFound, Incomplete, Undecided(V), Found(V), }
Represents the result of a SequenceMap::find
operation.
Variants
NotFound
No contained sequences begin with the provided input sequence.
Incomplete
One or more sequences begin with the provided input sequence, but the sequence does not represent a complete sequence.
Undecided(V)
A sequence was found exactly matching the input sequence; additionally, one or more sequences begin with the input sequence.
Found(V)
A sequence was found exactly matching the input sequence; no additional partially-matching sequences exist.
Methods
impl<'a, V: Clone> FindResult<&'a V>
[src]
pub fn cloned(self) -> FindResult<V>
[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]
fn clone(&self) -> FindResult<V>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<V: Debug> Debug for FindResult<V>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[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]
fn eq(&self, __arg_0: &FindResult<V>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FindResult<V>) -> bool
[src]
This method tests for !=
.
Auto Trait Implementations
impl<V> Send for FindResult<V> where
V: Send,
V: Send,
impl<V> Sync for FindResult<V> where
V: Sync,
V: Sync,