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
Both(L, R)
Neither input iterator is exhausted yet, yielding two values.
Left(L)
The parameter iterator is exhausted, only yielding a value from the self
iterator.
Right(R)
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]
fn clone(&self) -> EitherOrBoth<L, R>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<L: PartialEq, R: PartialEq> PartialEq for EitherOrBoth<L, R>
[src]
fn eq(&self, __arg_0: &EitherOrBoth<L, R>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EitherOrBoth<L, R>) -> bool
This method tests for !=
.