Skip to main content

LocalCheckPort

Trait LocalCheckPort 

Source
pub trait LocalCheckPort: Send {
    // Required method
    fn check(
        &mut self,
        request: &LocalCheckRequest,
        lease: &LocalCheckLease,
        cancellation: &ProcessCancellation,
    ) -> LocalCheckResult;
}
Expand description

Portable checker seam; packet tooling never constructs a native command.

Required Methods§

Source

fn check( &mut self, request: &LocalCheckRequest, lease: &LocalCheckLease, cancellation: &ProcessCancellation, ) -> LocalCheckResult

Executes or reconciles one installed exact command under a bounded lease.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§