[][src]Crate howto

howto

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

Usage

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

while let Some(answer) = answers.next().await {
    println!("Answer from {}\n{}", answer.link, answer.instruction);
}

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.