pub trait ProcessStatus<T, E>{
// Required methods
fn status_entry(&self) -> T;
fn status_exit(&self) -> T;
fn error_type(&self) -> E;
fn wrap_error<F: Error + Sync + Send + 'static>(
&self,
error: F,
message: Option<String>,
) -> E;
}
Expand description
Child process status
Required Methods§
Sourcefn status_entry(&self) -> T
fn status_entry(&self) -> T
process entry status
Sourcefn status_exit(&self) -> T
fn status_exit(&self) -> T
process exit status
Sourcefn error_type(&self) -> E
fn error_type(&self) -> E
process error type
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.