async fn push_alerts(
	exceeded_thresholds: &[&AlertResult],
	methods: &[AlertMethod],
	context: &App,
) -> Result<()> {
	for method in methods {
		method.send_alert(exceeded_thresholds, context).await?;
	}
	Ok(())
}
/// Send alerts containing all exceeded thresholds to each enabled alert method
Send alerts containing all exceeded thresholds to each enabled alert method
Send alerts containing all exceeded thresholds to each enabled alert method
async fn push_alerts(
	exceeded_thresholds: &[&AlertResult],
	methods: &[AlertMethod],
	context: &App,
) -> Result<()> {
	for method in methods {
		method.send_alert(exceeded_thresholds, context).await?;
	}
	Ok(())
}
async fn push_alerts ( exceeded_thresholds : & [ & AlertResult ] , methods : & [ AlertMethod ] , context : & App , ) -> Result < ( ) > { for method in methods { method . send_alert ( exceeded_thresholds , context ) . await ? ; } Ok ( ( ) ) }
Send alerts containing all exceeded thresholds to each enabled alert method
Send alerts containing all exceeded thresholds to each enabled alert method
exceeded_thresholds
&[&AlertResult]
methods
&[AlertMethod]
context
&App
exceeded_thresholds
&[&AlertResult]
methods
&[AlertMethod]
context
&App