Skip to main content

Fn

pub async fn Fn<F, T>(
    Operation: F,
    MaxAttempts: u32,
    OperationName: &str,
) -> Result<T, CommonError>
where F: Fn() -> Result<T, CommonError> + Send,