Skip to main content

GoogleHttp

Trait GoogleHttp 

Source
pub trait GoogleHttp: Sync {
    // Required method
    fn send(
        &self,
        req: &GoogleRequest,
        token: &str,
    ) -> impl Future<Output = Result<HttpReply, String>> + Send;
}
Expand description

Google’s REST APIs.

Required Methods§

Source

fn send( &self, req: &GoogleRequest, token: &str, ) -> impl Future<Output = Result<HttpReply, String>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§