pub struct BulkRacingScope<'e, E>where
E: BulkExecutor<'e>,{ /* private fields */ }
Implementations§
Source§impl<'e, E> BulkRacingScope<'e, E>where
E: BulkExecutor<'e>,
impl<'e, E> BulkRacingScope<'e, E>where
E: BulkExecutor<'e>,
pub fn new(executor: E) -> Self
pub fn race_for_race_id<S, I, B>(
self,
ids: I,
builder: B,
) -> impl Stream<Item = (RaceId, Result<RacingRaceDetailsResponse, E::Error>)> + use<'e, E, S, I, B>where
I: IntoIterator<Item = RaceId>,
S: IsComplete,
B: Fn(RacingRaceForRaceIdRequestBuilder<Empty>) -> RacingRaceForRaceIdRequestBuilder<S>,
pub fn records_for_track_id<S, I, B>(
self,
ids: I,
builder: B,
) -> impl Stream<Item = (RaceTrackId, Result<RacingTrackRecordsResponse, E::Error>)> + use<'e, E, S, I, B>where
I: IntoIterator<Item = RaceTrackId>,
S: IsComplete,
B: Fn(RacingRecordsForTrackIdRequestBuilder<Empty>) -> RacingRecordsForTrackIdRequestBuilder<S>,
Auto Trait Implementations§
impl<'e, E> Freeze for BulkRacingScope<'e, E>where
E: Freeze,
impl<'e, E> RefUnwindSafe for BulkRacingScope<'e, E>where
E: RefUnwindSafe,
impl<'e, E> Send for BulkRacingScope<'e, E>
impl<'e, E> Sync for BulkRacingScope<'e, E>where
E: Sync,
impl<'e, E> Unpin for BulkRacingScope<'e, E>where
E: Unpin,
impl<'e, E> UnwindSafe for BulkRacingScope<'e, E>where
E: UnwindSafe + RefUnwindSafe,
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