pub trait AnyReader: Send {
// Required method
fn recv_any<'a>(
&'a mut self,
) -> Pin<Box<dyn Future<Output = DbResult<Box<dyn Any + Send>>> + Send + 'a>>;
}Expand description
Helper trait for type-erased reading
Allows reading values from a buffer without knowing the concrete type at compile time.
The value is returned as Box