seatbelt 0.4.4

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

use std::time::Duration;

use super::{LatencyDurationArgs, LatencyRateArgs};

crate::utils::define_fn_wrapper!(LatencyDuration<In>(Fn(&In, LatencyDurationArgs) -> Duration));
crate::utils::define_fn_wrapper!(LatencyRate<In>(Fn(&In, LatencyRateArgs) -> f64));