Enum joinkit::EitherOrBoth [] [src]

pub enum EitherOrBoth<L, R> {
    Both(L, R),
    Left(L),
    Right(R),
}

A value yielded by merge_join and hash_join outer iterators. Contains one or two values, depending on which input iterator is exhausted.

Variants

Neither input iterator is exhausted yet, yielding two values.

The parameter iterator is exhausted, only yielding a value from the self iterator.

The self iterator is exhausted, only yielding a value from the parameter iterator.

Trait Implementations

impl<L: Clone, R: Clone> Clone for EitherOrBoth<L, R>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<L: PartialEq, R: PartialEq> PartialEq for EitherOrBoth<L, R>
[src]

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

This method tests for !=.

impl<L: Eq, R: Eq> Eq for EitherOrBoth<L, R>
[src]

impl<L: Debug, R: Debug> Debug for EitherOrBoth<L, R>
[src]

Formats the value using the given formatter.