Crate openweathermap[][src]

Modules

blocking

synchronous functions

Structs

Clouds

Detailed clouds report

Coord

Location coordinates

CurrentWeather

current weather report in a nested struct

Main

Detailed weather report

Sys

Additional information

Volume

Rain or snow volume report

Weather

Weather condition description

Wind

Detailed wind report

Constants

LOADING

Loading error messaage you get at the first call of update().

Functions

init

Spawns a thread which fetches the current weather from openweathermap.org periodically.

update

Get current weather update that the spawned thread could fetched.

weather

Fetch current weather update once and stop thread immediately after success. Returns the result in a future.

Type Definitions

Receiver

Receiver object you get from init() and have top handle to update().