Skip to main content

Fn

pub fn Fn<T, F>(
    Operation: F,
    TimeoutMs: u64,
    OperationName: &str,
) -> Result<T, CommonError>
where F: FnOnce() -> Result<T, CommonError> + Send + 'static, T: Send + 'static,