pub trait ProcessNotifications {
type Error;
fn process_notifications(
&mut self,
notifications: &[Notification]
) -> Result<(), Self::Error> { ... }
fn process_notification(
&mut self,
notification: &Notification
) -> Result<(), Self::Error> { ... }
fn process_job_position_at_notification(
&mut self,
_notification: &Notification
) -> Result<(), Self::Error> { ... }
fn process_job_stopped_notification(
&mut self,
_notification: &Notification
) -> Result<(), Self::Error> { ... }
fn process_measurement_data_notification(
&mut self,
_notification: &Notification
) -> Result<(), Self::Error> { ... }
}