nautilus_persistence::backend::kmerge_batch

Struct ElementBatchIter

source
pub struct ElementBatchIter<I, T>
where I: Iterator<Item = IntoIter<T>>,
{ pub item: T, /* private fields */ }

Fields§

§item: T

Trait Implementations§

source§

impl<I> Compare<ElementBatchIter<I, Data>> for TsInitComparator
where I: Iterator<Item = IntoIter<Data>>,

source§

fn compare( &self, l: &ElementBatchIter<I, Data>, r: &ElementBatchIter<I, Data>, ) -> Ordering

Compares two values, returning Less, Equal, or Greater if l is less than, equal to, or greater than r, respectively.
§

fn compares_lt(&self, l: &L, r: &R) -> bool

Checks if l is less than r.
§

fn compares_le(&self, l: &L, r: &R) -> bool

Checks if l is less than or equal to r.
§

fn compares_ge(&self, l: &L, r: &R) -> bool

Checks if l is greater than or equal to r.
§

fn compares_gt(&self, l: &L, r: &R) -> bool

Checks if l is greater than r.
§

fn compares_eq(&self, l: &L, r: &R) -> bool

Checks if l is equal to r.
§

fn compares_ne(&self, l: &L, r: &R) -> bool

Checks if l is not equal to r.
§

fn borrowing(self) -> Borrowing<Self, L, R>
where Self: Sized,

Borrows the comparator’s parameters before comparing them. Read more
§

fn rev(self) -> Rev<Self>
where Self: Sized,

Reverses the ordering of the comparator. Read more
§

fn swap(self) -> Swap<Self>
where Self: Sized,

Swaps the comparator’s parameters, maintaining the underlying ordering. Read more
§

fn then<D>(self, then: D) -> Then<Self, D>
where D: Compare<L, R>, Self: Sized,

Lexicographically combines the comparator with another. Read more

Auto Trait Implementations§

§

impl<I, T> Freeze for ElementBatchIter<I, T>
where T: Freeze, I: Freeze,

§

impl<I, T> RefUnwindSafe for ElementBatchIter<I, T>

§

impl<I, T> Send for ElementBatchIter<I, T>
where T: Send, I: Send,

§

impl<I, T> Sync for ElementBatchIter<I, T>
where T: Sync, I: Sync,

§

impl<I, T> Unpin for ElementBatchIter<I, T>
where T: Unpin, I: Unpin,

§

impl<I, T> UnwindSafe for ElementBatchIter<I, T>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

§

impl<T> Ungil for T
where T: Send,