Trait connectorx::sources::Produce
source · pub trait Produce<'r, T> {
type Error: From<ConnectorXError> + Send;
// Required method
fn produce(&'r mut self) -> Result<T, Self::Error>;
}
Expand description
A type implemented Produce<T>
means that it can produce a value T
by consuming part of it’s raw data buffer.