Skip to main content

LocalApiClient

Trait LocalApiClient 

Source
pub trait LocalApiClient: Clone {
    // Required method
    fn get(
        &self,
        uri: Uri,
    ) -> impl Future<Output = Result<Response<Incoming>>> + Send;
}
Expand description

Abstract trait for the tailscale API client

Required Methods§

Source

fn get( &self, uri: Uri, ) -> impl Future<Output = Result<Response<Incoming>>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§