pub struct DockerEvaluator { /* private fields */ }Expand description
Host-owned Docker executable and a frozen client environment. Neither is selected from checker output or forwarded to the container.
Implementations§
Source§impl DockerEvaluator
impl DockerEvaluator
Sourcepub fn new(program: &Path) -> Result<Self, String>
pub fn new(program: &Path) -> Result<Self, String>
program must be a trusted installed Docker CLI, not a repo script.
pub async fn evaluate( &self, registration: &PinnedRegistration, evidence: &FrozenEvidence, options: RunOptions<'_>, cancelled: &AtomicBool, ) -> Result<AttemptOutcome, String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DockerEvaluator
impl RefUnwindSafe for DockerEvaluator
impl Send for DockerEvaluator
impl Sync for DockerEvaluator
impl Unpin for DockerEvaluator
impl UnsafeUnpin for DockerEvaluator
impl UnwindSafe for DockerEvaluator
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