[−][src]Struct hyper_unix_connector::UnixClient
Converts Uri
to tokio::net::UnixStream
.
Useful for making hyper
clients connect to Unix-domain addresses. For the server side, see
UnixConnector
.
Example
use hyper_unix_connector::{Uri, UnixClient}; use hyper::{Body, Client}; let client: Client<UnixClient, Body> = Client::builder().build(UnixClient); let addr: hyper::Uri = Uri::new("./my_unix_socket", "/").into(); client.get(addr);
Trait Implementations
impl Service<Uri> for UnixClient
[src][+]
impl Connect for UnixClient
[src][+]
Auto Trait Implementations
impl Send for UnixClient
impl Sync for UnixClient
impl Unpin for UnixClient
impl UnwindSafe for UnixClient
impl RefUnwindSafe for UnixClient
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<C, Target> MakeConnection<Target> for C where
C: Service<Target>,
<C as Service<Target>>::Response: AsyncRead,
<C as Service<Target>>::Response: AsyncWrite,
[src][+]
C: Service<Target>,
<C as Service<Target>>::Response: AsyncRead,
<C as Service<Target>>::Response: AsyncWrite,