You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2023. It is now read-only.
Currently our Match queries return impl Stream<Item = ConceptMap>.
This becomes a particular problem in the Concept API. We want to define methods such as get_instances in a trait, but trait methods cannot return impl Stream.
It might be more useful to users if they knew the exact type of Stream. Trouble is, that type is a super-complex type.
We should investigate the performance impact of using BoxStream. If not, we may need to not define these methods in traits. It may be worth consulting the Rust API guidelines.
The text was updated successfully, but these errors were encountered:
Currently our Match queries return
impl Stream<Item = ConceptMap>
.This becomes a particular problem in the Concept API. We want to define methods such as
get_instances
in a trait, but trait methods cannot returnimpl Stream
.It might be more useful to users if they knew the exact type of Stream. Trouble is, that type is a super-complex type.
We should investigate the performance impact of using
BoxStream
. If not, we may need to not define these methods in traits. It may be worth consulting the Rust API guidelines.The text was updated successfully, but these errors were encountered: