[][src]Crate howto

howto

Instant coding answers with Google and StackOverflow. Inspired by gleitz/howdoi.

Usage

let answers = howto::howto("file io rust").await;

answers.for_each(|answer| {
    println!("Answer from {}\n{}", answer.link, answer.instruction);
    future::ready(())
}).await;

Structs

Answer

Struct containing the answer of given query.

Functions

howto

Query function. Give query to this function and thats it! Google and StackOverflow will do the rest.

prefetch_howto

Prefetch n queries with FuturesOrdered, and then others.