seatbelt 0.4.4

Resilience and recovery mechanisms for fallible operations.
Documentation
1
2
3
4
5
6
7
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

use super::{InjectionOutputArgs, InjectionRateArgs};

crate::utils::define_fn_wrapper!(InjectionOutput<In, Out>(Fn(In, InjectionOutputArgs) -> Out));
crate::utils::define_fn_wrapper!(InjectionRate<In>(Fn(&In, InjectionRateArgs) -> f64));