pub struct IteratorSourceInput<T: Clone, D: Data, DI: IntoIterator<Item = D>, I: IntoIterator<Item = (T, DI)>> {
pub lower_bound: T,
pub data: I,
pub target: T,
}Expand description
Output of the input reading function for iterator_source.
Fields§
§lower_bound: TLower bound on timestamps that can be emitted by this input in the future.
data: IAny T: IntoIterator of new input data in the form (time, data): time must be
monotonically increasing.
target: TA timestamp that represents the frontier that the probe should have reached before the function is invoked again to ingest additional input.
Auto Trait Implementations§
impl<T, D, DI, I> Freeze for IteratorSourceInput<T, D, DI, I>
impl<T, D, DI, I> RefUnwindSafe for IteratorSourceInput<T, D, DI, I>where
T: RefUnwindSafe,
I: RefUnwindSafe,
impl<T, D, DI, I> Send for IteratorSourceInput<T, D, DI, I>
impl<T, D, DI, I> Sync for IteratorSourceInput<T, D, DI, I>
impl<T, D, DI, I> Unpin for IteratorSourceInput<T, D, DI, I>
impl<T, D, DI, I> UnwindSafe for IteratorSourceInput<T, D, DI, I>where
T: UnwindSafe,
I: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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