Skip to main content

DispatchRecorder

Trait DispatchRecorder 

Source
pub trait DispatchRecorder: Send + Sync {
    // Required method
    fn record(&self, event: DispatchAuditEvent);
}
Expand description

Writes DispatchAuditEvents into scryer’s tower.dispatch scope.

In production this wraps the scryer client (R093); in tests a VecRecorder collects events for assertion.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§