pub trait ResolverOutput<TError>:
Sized
+ Send
+ 'static {
type T;
// Required methods
fn data_type(types: &mut TypeCollection) -> DataType;
fn into_stream(
self,
) -> impl Stream<Item = Result<Self::T, ProcedureError>> + Send + 'static;
fn into_procedure_stream(
stream: impl Stream<Item = Result<Self::T, ProcedureError>> + Send + 'static,
) -> ProcedureStream;
}
Expand description
TODO: bring back any correct parts of the docs above
Required Associated Types§
Required Methods§
fn data_type(types: &mut TypeCollection) -> DataType
Sourcefn into_stream(
self,
) -> impl Stream<Item = Result<Self::T, ProcedureError>> + Send + 'static
fn into_stream( self, ) -> impl Stream<Item = Result<Self::T, ProcedureError>> + Send + 'static
Convert the procedure into a Stream
.
Sourcefn into_procedure_stream(
stream: impl Stream<Item = Result<Self::T, ProcedureError>> + Send + 'static,
) -> ProcedureStream
fn into_procedure_stream( stream: impl Stream<Item = Result<Self::T, ProcedureError>> + Send + 'static, ) -> ProcedureStream
Convert the stream into a ProcedureStream
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.