We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
async
docs.rs
It seems that async functions on https://docs.rs/langchain-rust/latest/langchain_rust/output_parsers/struct.MarkdownParser.html are in the expanded form (impl Future, etc.).
impl Future
However, on other crates docs.rs it seems that async can be handled in a less scary way https://docs.rs/ollama-rs/0.1.4/ollama_rs/struct.Ollama.html.
I wonder, why it looks like this. I think showing async fn is better than impl Future<...>
async fn
impl Future<...>
The text was updated successfully, but these errors were encountered:
Oh, f**k, it's the async_trait and the problem is with traits... Cause async in traits is experimental
async_trait
Sorry, something went wrong.
No branches or pull requests
It seems that
async
functions on https://docs.rs/langchain-rust/latest/langchain_rust/output_parsers/struct.MarkdownParser.html are in the expanded form (impl Future
, etc.).However, on other crates docs.rs it seems that async can be handled in a less scary way https://docs.rs/ollama-rs/0.1.4/ollama_rs/struct.Ollama.html.
I wonder, why it looks like this. I think showing
async fn
is better thanimpl Future<...>
The text was updated successfully, but these errors were encountered: