Skip to main content

create_logged_timeout_wrapper

Function create_logged_timeout_wrapper 

Source
pub fn create_logged_timeout_wrapper<T>(
    op: Box<dyn Op<T>>,
    timeout: Duration,
    trigger_name: String,
) -> LoggingWrapper<T>
where T: Send + 'static,
Expand description

Create timeout wrapper with both logging and timeout functionality Combines LoggingWrapper and TimeBoundWrapper (composition pattern)