pub struct ProbeFailures<'a> {
pub(super) conn: &'a Mutex<Connection>,
}Fields§
§conn: &'a Mutex<Connection>Implementations§
Source§impl ProbeFailures<'_>
impl ProbeFailures<'_>
Sourcepub fn insert_many(&self, rows: &[ProbeFailureInsert<'_>]) -> Result<()>
pub fn insert_many(&self, rows: &[ProbeFailureInsert<'_>]) -> Result<()>
Insert a batch of probe_failures rows. The applier calls this
from the RemoteAppendEventLog handler on enforce-mode
ProbeResult { status = Fail }; for evidence probes it walks
sub_results and inserts one row per failing control.
9b shape: one transaction wraps the whole batch. event_log_seq
is left NULL — the FK column in the schema permits NULL; a
follow-up tightening lands when the event_log_writer task can
hand back the row’s seq synchronously (today’s writer is
fire-and-forget on a bounded channel).
Auto Trait Implementations§
impl<'a> Freeze for ProbeFailures<'a>
impl<'a> RefUnwindSafe for ProbeFailures<'a>
impl<'a> Send for ProbeFailures<'a>
impl<'a> Sync for ProbeFailures<'a>
impl<'a> Unpin for ProbeFailures<'a>
impl<'a> UnwindSafe for ProbeFailures<'a>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more