Skip to main content

LocationProvider

Trait LocationProvider 

Source
pub trait LocationProvider: Send + Sync {
    // Required method
    fn locate(&self) -> LocationChannel;
}
Expand description

Where the device’s position comes from in this process: the host’s provider, or nothing.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§