Skip to main content

BoxedAsyncClient

Type Alias BoxedAsyncClient 

Source
pub type BoxedAsyncClient = AsyncClient<Box<dyn AsyncTransport>>;
Expand description

AsyncClient with transport type erased.

Use this alias when plaintext and TLS connections must share one type. Dynamic dispatch applies to transport reads and writes.

Aliased Typeยง

pub struct BoxedAsyncClient { /* private fields */ }