pub struct RubricPool { /* private fields */ }Expand description
Reusable worker pool for evaluating screenshot rubrics through Codex ACP.
Implementations§
Source§impl RubricPool
impl RubricPool
Sourcepub fn new(config: PoolConfig) -> Result<Self, PoolError>
pub fn new(config: PoolConfig) -> Result<Self, PoolError>
Sourcepub fn submit(
&self,
png_path: &Path,
question: &str,
opts: RubricOptions,
) -> Result<RubricVerdict, PoolError>
pub fn submit( &self, png_path: &Path, question: &str, opts: RubricOptions, ) -> Result<RubricVerdict, PoolError>
Auto Trait Implementations§
impl !Freeze for RubricPool
impl RefUnwindSafe for RubricPool
impl Send for RubricPool
impl Sync for RubricPool
impl Unpin for RubricPool
impl UnsafeUnpin for RubricPool
impl UnwindSafe for RubricPool
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