pub trait Producer:
Clone
+ Send
+ 'static {
type Key: Span;
// Required method
fn produce(&mut self, key: Self::Key) -> Receiver<Bytes>;
}Expand description
Serves data requested by the network.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".