pub struct ExactStreamDataLoader<S, C, F = IdentityTransformFactory, N = PinDisabled>where
S: WorkerSourceFactory,
S::Source: CheckpointableSource<Sample = S::Sample, Error = S::Error>,
F: TransformFactory<S::Sample>,
F::Transform: WorkerCheckpoint,
C: Collate<<<F as TransformFactory<<S as WorkerSourceFactory>::Sample>>::Transform as Transform<<S as WorkerSourceFactory>::Sample>>::Output> + Checkpointable,{ /* private fields */ }Expand description
Exact stream owner with suspended, transactionally validated worker sources.
Implementations§
Source§impl<S, C, F, N> ExactStreamDataLoader<S, C, F, N>where
S: CheckpointSourceFactory,
S::Source: CheckpointableSource<Sample = S::Sample, Error = S::Error>,
<<S as WorkerSourceFactory>::Source as CheckpointableSource>::State: Send + 'static,
F: TransformFactory<S::Sample> + Send + Sync + 'static,
F::Transform: WorkerCheckpoint + Send + 'static,
<<F as TransformFactory<<S as WorkerSourceFactory>::Sample>>::Transform as WorkerCheckpoint>::State: Send + 'static,
<<F as TransformFactory<<S as WorkerSourceFactory>::Sample>>::Transform as Transform<<S as WorkerSourceFactory>::Sample>>::Output: Send + 'static,
<<F as TransformFactory<<S as WorkerSourceFactory>::Sample>>::Transform as Transform<<S as WorkerSourceFactory>::Sample>>::Error: Send + 'static,
F::Error: Send + 'static,
C: Collate<<<F as TransformFactory<<S as WorkerSourceFactory>::Sample>>::Transform as Transform<<S as WorkerSourceFactory>::Sample>>::Output> + Checkpointable,
N: StreamPinPolicy<S, C, F>,
impl<S, C, F, N> ExactStreamDataLoader<S, C, F, N>where
S: CheckpointSourceFactory,
S::Source: CheckpointableSource<Sample = S::Sample, Error = S::Error>,
<<S as WorkerSourceFactory>::Source as CheckpointableSource>::State: Send + 'static,
F: TransformFactory<S::Sample> + Send + Sync + 'static,
F::Transform: WorkerCheckpoint + Send + 'static,
<<F as TransformFactory<<S as WorkerSourceFactory>::Sample>>::Transform as WorkerCheckpoint>::State: Send + 'static,
<<F as TransformFactory<<S as WorkerSourceFactory>::Sample>>::Transform as Transform<<S as WorkerSourceFactory>::Sample>>::Output: Send + 'static,
<<F as TransformFactory<<S as WorkerSourceFactory>::Sample>>::Transform as Transform<<S as WorkerSourceFactory>::Sample>>::Error: Send + 'static,
F::Error: Send + 'static,
C: Collate<<<F as TransformFactory<<S as WorkerSourceFactory>::Sample>>::Transform as Transform<<S as WorkerSourceFactory>::Sample>>::Output> + Checkpointable,
N: StreamPinPolicy<S, C, F>,
Sourcepub fn pin_memory_status(&self) -> PinMemoryStatus
pub fn pin_memory_status(&self) -> PinMemoryStatus
Returns the effective pinning policy.
Sourcepub fn iter(&mut self) -> ExactStreamLoaderIter<'_, S, C, F, N> ⓘ
pub fn iter(&mut self) -> ExactStreamLoaderIter<'_, S, C, F, N> ⓘ
Starts the retained resume once, then fresh logical generations.
Auto Trait Implementations§
impl<S, C, F = IdentityTransformFactory, N = PinDisabled> !RefUnwindSafe for ExactStreamDataLoader<S, C, F, N>
impl<S, C, F = IdentityTransformFactory, N = PinDisabled> !UnwindSafe for ExactStreamDataLoader<S, C, F, N>
impl<S, C, F, N> Freeze for ExactStreamDataLoader<S, C, F, N>
impl<S, C, F, N> Send for ExactStreamDataLoader<S, C, F, N>
impl<S, C, F, N> Sync for ExactStreamDataLoader<S, C, F, N>
impl<S, C, F, N> Unpin for ExactStreamDataLoader<S, C, F, N>
impl<S, C, F, N> UnsafeUnpin for ExactStreamDataLoader<S, C, F, N>where
Arc<S>: UnsafeUnpin,
Arc<F>: UnsafeUnpin,
C: UnsafeUnpin,
Option<Pool<S, F>>: UnsafeUnpin,
PhantomData<N>: UnsafeUnpin,
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