Skip to main content

status

Function status 

Source
pub fn status() -> Option<NetworkStatus>
Expand description

Read a connectivity snapshot via the platform’s native API. Returns None when there is no connectivity API on the platform (or the reading failed) — distinct from a successful reading that says offline (Some with online: false).

Day API ↩ Guides· daybrite.dev