Struct google_geocoding::Connection [−][src]
pub struct Connection { /* fields omitted */ }
Represents a connection to the Google geocoding API
Methods
impl Connection
[src]
impl Connection
pub fn new(handle: &Handle) -> Self
[src]
pub fn new(handle: &Handle) -> Self
Creates a new connection for the Google geocoding API on the specified reactor
pub fn degeocode(
&self,
coordinates: impl Into<DegeocodeQuery>
) -> impl Future<Item = Vec<Reply>, Error = Error>
[src]
pub fn degeocode(
&self,
coordinates: impl Into<DegeocodeQuery>
) -> impl Future<Item = Vec<Reply>, Error = Error>
Get the address of the specified coordinates
pub fn geocode(
&self,
address: impl Into<GeocodeQuery>
) -> impl Future<Item = Vec<Reply>, Error = Error>
[src]
pub fn geocode(
&self,
address: impl Into<GeocodeQuery>
) -> impl Future<Item = Vec<Reply>, Error = Error>
Get the coordinates of the specified address
Auto Trait Implementations
impl !Send for Connection
impl !Send for Connection
impl !Sync for Connection
impl !Sync for Connection