pub trait Location:
Send
+ Sync
+ 'static {
// Required methods
fn is_location_enabled(&self) -> Result<bool, PlatformError>;
fn request_location(
&self,
callback_id: u64,
config: LocationRequestConfig,
) -> Result<(), PlatformError>;
}