pub type GeolocationResult = Result<GeolocationPositionData, GeolocationError>;Expand description
The reply sent back to script for a one-shot position request, or for each update of an ongoing watch.
Aliased Type§
pub enum GeolocationResult {
Ok(GeolocationPositionData),
Err(GeolocationError),
}Variants§
Ok(GeolocationPositionData)
Contains the success value
Err(GeolocationError)
Contains the error value