pub trait DuplicityAlarmSink: Send + Sync {
// Required method
fn raise(&self, alarm: &DuplicityAlarm);
}Expand description
Sink for DuplicityAlarms (B4/#888 seam). Detection raises; routing the
signal to the S7 audit store and/or an operator notification path is B4’s
job. The guard has already committed to rejecting before this is called;
durable implementations may synchronously fsync so returning from admission
means the alarm is crash-durable.
Required Methods§
Sourcefn raise(&self, alarm: &DuplicityAlarm)
fn raise(&self, alarm: &DuplicityAlarm)
Handle a raised duplicity alarm. Called exactly once per detected fork, after the guard has committed to failing closed.