Struct hyperlocal::client::UnixConnector[][src]

pub struct UnixConnector;

A type which implements hyper's client connector interface for unix domain sockets

UnixConnector instances expects uri's to be constructued with hyperlocal::Uri::new() which produce uris with a unix:// scheme

examples

extern crate hyper;
extern crate hyperlocal;

let client = hyper::Client::builder()
   .build::<_, hyper::Body>(hyperlocal::UnixConnector::new());

Methods

impl UnixConnector
[src]

Trait Implementations

impl Clone for UnixConnector
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Connect for UnixConnector
[src]

The connected IO Stream.

An error occured when trying to connect.

A Future that will resolve to the connected Transport.

Connect to a destination.

Auto Trait Implementations