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> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

§

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