pub trait Sink {
type Output;
// Required methods
fn record(&mut self, r: &Record<'_>) -> Result<()>;
fn finish(self) -> Result<Self::Output>;
}Expand description
A destination for records.
Required Associated Types§
Required Methods§
fn record(&mut self, r: &Record<'_>) -> Result<()>
fn finish(self) -> Result<Self::Output>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".