Trait ProcessStatus

Source
pub trait ProcessStatus<T, E>
where E: Error + Send, Self: Send,
{ // 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§

Source

fn status_entry(&self) -> T

process entry status

Source

fn status_exit(&self) -> T

process exit status

Source

fn error_type(&self) -> E

process error type

Source

fn wrap_error<F: Error + Sync + Send + 'static>( &self, error: F, message: Option<String>, ) -> E

wrap error

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.

Implementors§