pub trait Recorder: Send + Sync {
// Required method
fn record(&self, connection: &Connection<'_>) -> Result<(), RecordError>;
}Expand description
Where connection decisions go. An error refuses the connection.
Required Methods§
Sourcefn record(&self, connection: &Connection<'_>) -> Result<(), RecordError>
fn record(&self, connection: &Connection<'_>) -> Result<(), RecordError>
Record one decision.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".