pub struct BatchRubricRun<'a> { /* private fields */ }Expand description
Generic batch runner around RubricPool.
Implementations§
Source§impl<'a> BatchRubricRun<'a>
impl<'a> BatchRubricRun<'a>
Sourcepub fn new(config: BatchRubricConfig<'a>) -> Self
pub fn new(config: BatchRubricConfig<'a>) -> Self
Creates a batch runner.
Sourcepub fn run(&self, changes: &[AssetChange]) -> BatchRubricReport
pub fn run(&self, changes: &[AssetChange]) -> BatchRubricReport
Evaluates selected assets from a snapshot diff.
Pool startup and per-asset failures are represented inside the returned report so callers can serialize the report before deciding whether to fail their own command.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for BatchRubricRun<'a>
impl<'a> !Send for BatchRubricRun<'a>
impl<'a> !Sync for BatchRubricRun<'a>
impl<'a> !UnwindSafe for BatchRubricRun<'a>
impl<'a> Freeze for BatchRubricRun<'a>
impl<'a> Unpin for BatchRubricRun<'a>
impl<'a> UnsafeUnpin for BatchRubricRun<'a>
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