Trait gr::io::TaskRunner
source · pub trait TaskRunner {
type Response;
// Required method
fn run<T>(&self, cmd: T) -> Result<Self::Response>
where T: IntoIterator,
T::Item: AsRef<OsStr>;
}
Expand description
A trait that handles the execution of processes with a finite lifetime. For
example, it can be an in-memory process for testing or a shell command doing
I/O. It handles all processes that do not conform with the HTTP protocol.
For that, check the HttpRunner
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.