pub struct Batch {
pub requests: Vec<(u32, RequestView, PathBuf)>,
pub read: u32,
pub next: Option<Start>,
}Expand description
One batch of the ordered requests.
Fields§
§requests: Vec<(u32, RequestView, PathBuf)>The requests that read, each at its offset in the batch, with its Run’s repository.
read: u32How many requests the batch read, including those that did not read.
next: Option<Start>Where the next batch starts, when the batch read any request.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Batch
impl Freeze for Batchwhere
*const u8 is !null: Freeze,
PhantomData<(u32, RequestView, PathBuf)>: Freeze,
PhantomData<u8>: Freeze,
impl Move for Batch
impl RefUnwindSafe for Batch
impl Send for Batch
impl Sync for Batch
impl Unpin for Batch
impl UnsafeUnpin for Batchwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(u32, RequestView, PathBuf)>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Batchwhere
RawVecInner: UnwindSafe,
Arc<Request>: UnwindSafe,
NonZero<i32>: UnwindSafe,
Arc<Execution>: UnwindSafe,
Arc<Graph>: UnwindSafe,
Arc<Eval>: UnwindSafe,
Arc<Artifact>: 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