Function xkcd::random::random_in_range [] [src]

pub fn random_in_range<'a, R>(
    client: &'a R,
    range: Range<u32>
) -> Box<Future<Item = XkcdResponse, Error = Error> + 'a> where
    R: XkcdRequestSender

Retrieves information regarding a random comic from the XKCD website in the specified range.