From 47d59b6356419b14a9b6dd001c5bcb59238b0c17 Mon Sep 17 00:00:00 2001 From: softprops Date: Mon, 22 Jul 2024 14:49:45 +0000 Subject: [PATCH] deploy: aa7bb1244502a7976672fa68ddd3fd5fa23563c9 --- hyperlocal/all.html | 2 +- hyperlocal/index.html | 2 +- hyperlocal/struct.UnixConnector.html | 2 +- hyperlocal/struct.UnixStream.html | 22 +++++++++++----------- hyperlocal/struct.Uri.html | 2 +- hyperlocal/trait.UnixClientExt.html | 2 +- hyperlocal/trait.UnixListenerExt.html | 2 +- search-index.js | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/hyperlocal/all.html b/hyperlocal/all.html index 60fbace..f16a8a4 100644 --- a/hyperlocal/all.html +++ b/hyperlocal/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/hyperlocal/index.html b/hyperlocal/index.html index d2c4d3d..037f0d8 100644 --- a/hyperlocal/index.html +++ b/hyperlocal/index.html @@ -1,4 +1,4 @@ -hyperlocal - Rust

Crate hyperlocal

source ·
Expand description

hyperlocal provides Hyper bindings +hyperlocal - Rust

Crate hyperlocal

source ·
Expand description

hyperlocal provides Hyper bindings for Unix domain sockets.

See the examples for how to configure a client or a server.

§Features

diff --git a/hyperlocal/struct.UnixConnector.html b/hyperlocal/struct.UnixConnector.html index 5a15711..8338ee0 100644 --- a/hyperlocal/struct.UnixConnector.html +++ b/hyperlocal/struct.UnixConnector.html @@ -1,4 +1,4 @@ -UnixConnector in hyperlocal - Rust

Struct hyperlocal::UnixConnector

source ·
pub struct UnixConnector;
Expand description

the [UnixConnector] can be used to construct a [hyper::Client] which can +UnixConnector in hyperlocal - Rust

Struct hyperlocal::UnixConnector

source ·
pub struct UnixConnector;
Expand description

the [UnixConnector] can be used to construct a [hyper::Client] which can speak to a unix domain socket.

§Example

use http_body_util::Full;
diff --git a/hyperlocal/struct.UnixStream.html b/hyperlocal/struct.UnixStream.html
index 390452c..5ea6cf6 100644
--- a/hyperlocal/struct.UnixStream.html
+++ b/hyperlocal/struct.UnixStream.html
@@ -1,41 +1,41 @@
-UnixStream in hyperlocal - Rust

Struct hyperlocal::UnixStream

source ·
pub struct UnixStream { /* private fields */ }
Expand description

Wrapper around [tokio::net::UnixStream].

+UnixStream in hyperlocal - Rust

Struct hyperlocal::UnixStream

source ·
pub struct UnixStream { /* private fields */ }
Expand description

Wrapper around [tokio::net::UnixStream].

Trait Implementations§

source§

impl AsyncRead for UnixStream

source§

fn poll_read( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_> -) -> Poll<Result<()>>

Attempts to read from the AsyncRead into buf. Read more
source§

impl AsyncWrite for UnixStream

source§

fn poll_write( +) -> Poll<Result<()>>

Attempts to read from the AsyncRead into buf. Read more
source§

impl AsyncWrite for UnixStream

source§

fn poll_write( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8] -) -> Poll<Result<usize, Error>>

Attempt to write bytes from buf into the object. Read more
source§

fn poll_flush( +) -> Poll<Result<usize, Error>>

Attempt to write bytes from buf into the object. Read more
source§

fn poll_flush( self: Pin<&mut Self>, cx: &mut Context<'_> ) -> Poll<Result<(), Error>>

Attempts to flush the object, ensuring that any buffered data reach -their destination. Read more
source§

fn poll_shutdown( +their destination. Read more

source§

fn poll_shutdown( self: Pin<&mut Self>, cx: &mut Context<'_> ) -> Poll<Result<(), Error>>

Initiates or attempts to shut down this writer, returning success when -the I/O connection has completely shut down. Read more
source§

fn poll_write_vectored( +the I/O connection has completely shut down. Read more

source§

fn poll_write_vectored( self: Pin<&mut Self>, cx: &mut Context<'_>, bufs: &[IoSlice<'_>] -) -> Poll<Result<usize, Error>>

Like poll_write, except that it writes from a slice of buffers. Read more
source§

fn is_write_vectored(&self) -> bool

Determines if this writer has an efficient poll_write_vectored +) -> Poll<Result<usize, Error>>
Like poll_write, except that it writes from a slice of buffers. Read more
source§

fn is_write_vectored(&self) -> bool

Determines if this writer has an efficient poll_write_vectored implementation. Read more
source§

impl Connection for UnixStream

source§

fn connected(&self) -> Connected

Return metadata describing the connection.
source§

impl Debug for UnixStream

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Read for UnixStream

source§

fn poll_read( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: ReadBufCursor<'_> -) -> Poll<Result<(), Error>>

Attempts to read bytes into the buf. Read more
source§

impl Write for UnixStream

source§

fn poll_write( +) -> Poll<Result<(), Error>>

Attempts to read bytes into the buf. Read more
source§

impl Write for UnixStream

source§

fn poll_write( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8] -) -> Poll<Result<usize, Error>>

Attempt to write bytes from buf into the destination. Read more
source§

fn poll_flush( +) -> Poll<Result<usize, Error>>

Attempt to write bytes from buf into the destination. Read more
source§

fn poll_flush( self: Pin<&mut Self>, cx: &mut Context<'_> -) -> Poll<Result<(), Error>>

Attempts to flush the object. Read more
source§

fn poll_shutdown( +) -> Poll<Result<(), Error>>

Attempts to flush the object. Read more
source§

fn poll_shutdown( self: Pin<&mut Self>, cx: &mut Context<'_> -) -> Poll<Result<(), Error>>

Attempts to shut down this writer.
§

fn is_write_vectored(&self) -> bool

Returns whether this writer has an efficient poll_write_vectored -implementation. Read more
§

fn poll_write_vectored( +) -> Poll<Result<(), Error>>

Attempts to shut down this writer.
§

fn is_write_vectored(&self) -> bool

Returns whether this writer has an efficient poll_write_vectored +implementation. Read more
§

fn poll_write_vectored( self: Pin<&mut Self>, cx: &mut Context<'_>, bufs: &[IoSlice<'_>] diff --git a/hyperlocal/struct.Uri.html b/hyperlocal/struct.Uri.html index 1dad34f..ad06ae4 100644 --- a/hyperlocal/struct.Uri.html +++ b/hyperlocal/struct.Uri.html @@ -1,4 +1,4 @@ -Uri in hyperlocal - Rust

Struct hyperlocal::Uri

source ·
pub struct Uri { /* private fields */ }
Expand description

A convenience type that can be used to construct Unix Domain Socket URIs

+Uri in hyperlocal - Rust

Struct hyperlocal::Uri

source ·
pub struct Uri { /* private fields */ }
Expand description

A convenience type that can be used to construct Unix Domain Socket URIs

This type implements Into<hyper::Uri>.

§Example

use hyper::Uri as HyperUri;
diff --git a/hyperlocal/trait.UnixClientExt.html b/hyperlocal/trait.UnixClientExt.html
index 51d7a64..4dbf7ee 100644
--- a/hyperlocal/trait.UnixClientExt.html
+++ b/hyperlocal/trait.UnixClientExt.html
@@ -1,4 +1,4 @@
-UnixClientExt in hyperlocal - Rust

Trait hyperlocal::UnixClientExt

source ·
pub trait UnixClientExt<B: Body + Send> {
+UnixClientExt in hyperlocal - Rust

Trait hyperlocal::UnixClientExt

source ·
pub trait UnixClientExt<B: Body + Send> {
     // Provided method
     fn unix() -> Client<UnixConnector, B>
        where B::Data: Send { ... }
diff --git a/hyperlocal/trait.UnixListenerExt.html b/hyperlocal/trait.UnixListenerExt.html
index f66c646..6e5d518 100644
--- a/hyperlocal/trait.UnixListenerExt.html
+++ b/hyperlocal/trait.UnixListenerExt.html
@@ -1,4 +1,4 @@
-UnixListenerExt in hyperlocal - Rust

Trait hyperlocal::UnixListenerExt

source ·
pub trait UnixListenerExt {
+UnixListenerExt in hyperlocal - Rust

Trait hyperlocal::UnixListenerExt

source ·
pub trait UnixListenerExt {
     // Required method
     fn serve<MakeResponseFn, ResponseFn, ResponseFuture, B, E>(
         self,
diff --git a/search-index.js b/search-index.js
index de1bd06..46970a5 100644
--- a/search-index.js
+++ b/search-index.js
@@ -1,5 +1,5 @@
 var searchIndex = new Map(JSON.parse('[\
-["hyperlocal",{"t":"KFKFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNN","n":["UnixClientExt","UnixConnector","UnixListenerExt","UnixStream","Uri","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","call","clone","clone","clone_into","clone_into","connect","connected","default","fmt","fmt","fmt","from","from","from","into","into","into","is_write_vectored","new","poll_flush","poll_flush","poll_read","poll_read","poll_ready","poll_shutdown","poll_shutdown","poll_write","poll_write","poll_write_vectored","serve","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","unix","unix"],"q":[[0,"hyperlocal"],[54,"hyperlocal::client"],[55,"http::uri"],[56,"hyperlocal::uri"],[57,"hyper_util::client::legacy::connect::sealed"],[58,"tower::util::oneshot"],[59,"hyper_util::client::legacy::connect"],[60,"core::fmt"],[61,"std::path"],[62,"core::convert"],[63,"core::pin"],[64,"core::task::wake"],[65,"std::io::error"],[66,"core::result"],[67,"core::task::poll"],[68,"hyper::rt::io"],[69,"tokio::io::read_buf"],[70,"std::io"],[71,"hyperlocal::server"],[72,"core::error"],[73,"alloc::boxed"],[74,"core::future::future"],[75,"hyper::body::incoming"],[76,"http::request"],[77,"core::ops::function"],[78,"core::any"],[79,"hyper_util::client::legacy::client"],[80,"http_body"],[81,"core::marker"]],"i":[0,0,0,0,0,7,1,3,7,1,3,1,1,3,1,3,1,7,1,7,1,3,7,1,3,7,1,3,7,3,7,7,7,7,1,7,7,7,7,7,27,1,3,7,1,3,7,1,3,7,1,3,39,39],"f":"`````{ce{}{}}00000{{bd}c{}}{bb}{ff}{{ce}h{}{}}0{{cjd}{{l{ed}}}{}{}}{nA`}{{}b}{{nAb}Ad}{{bAb}Ad}{{fAb}Ad}{cc{}}00;;;{nAf}{{cAh}f{{Al{Aj}}}}{{{An{n}}B`}{{Bf{{Bd{hBb}}}}}}0{{{An{n}}B`Bh}{{Bf{{Bd{hBb}}}}}}{{{An{n}}B`Bj}{{Bf{{Bl{h}}}}}}{{bB`}{{Bf{{Bd{hc}}}}}{}}33{{{An{n}}B`{C`{Bn}}}{{Bf{{Bd{CbBb}}}}}}0{{{An{n}}B`{C`{Cd}}}{{Bf{{Bd{CbBb}}}}}}{{Cfg}{{`{{Cn{}{{Ch{{Bd{h{Cl{Cj}}}}}}}}}}}{{Cn{}{{Ch{Bd}}}}}{{Dd{{Db{D`}}}{{Ch{c}}}}}{{Dd{}{{Ch{e}}}}}}{ce{}{}}0{c{{Bd{e}}}{}{}}00000{cDf{}}00{{}{{Dh{bc}}}{DjDl}}0","D":"B`","p":[[5,"UnixConnector",0,54],[5,"Uri",55],[5,"Uri",0,56],[1,"unit"],[5,"Internal",57],[5,"Oneshot",58],[5,"UnixStream",0,54],[5,"Connected",59],[5,"Formatter",60],[8,"Result",60],[1,"bool"],[1,"str"],[5,"Path",61],[10,"AsRef",62],[5,"Pin",63],[5,"Context",64],[5,"Error",65],[6,"Result",66],[6,"Poll",67],[5,"ReadBufCursor",68],[5,"ReadBuf",69],[8,"Result",65],[1,"u8"],[1,"slice"],[1,"usize"],[5,"IoSlice",70],[10,"UnixListenerExt",0,71],[17,"Output"],[10,"Error",72],[5,"Box",73],[10,"Future",74],[5,"Incoming",75],[5,"Request",76],[10,"Fn",77],[5,"TypeId",78],[5,"Client",79],[10,"Body",80],[10,"Send",81],[10,"UnixClientExt",0]],"r":[[0,54],[1,54],[2,71],[3,54],[4,56]],"b":[[30,"impl-Write-for-UnixStream"],[31,"impl-AsyncWrite-for-UnixStream"],[32,"impl-Read-for-UnixStream"],[33,"impl-AsyncRead-for-UnixStream"],[35,"impl-Write-for-UnixStream"],[36,"impl-AsyncWrite-for-UnixStream"],[37,"impl-Write-for-UnixStream"],[38,"impl-AsyncWrite-for-UnixStream"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAACYABAAGABAAHQAAAB8ACQAqAAoA"}]\
+["hyperlocal",{"t":"KFKFFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNNN","n":["UnixClientExt","UnixConnector","UnixListenerExt","UnixStream","Uri","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","call","clone","clone","clone_into","clone_into","connect","connected","default","fmt","fmt","fmt","from","from","from","into","into","into","is_write_vectored","new","poll_flush","poll_flush","poll_read","poll_read","poll_ready","poll_shutdown","poll_shutdown","poll_write","poll_write","poll_write_vectored","serve","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","unix","unix"],"q":[[0,"hyperlocal"],[54,"hyperlocal::client"],[55,"http::uri"],[56,"hyperlocal::uri"],[57,"hyper_util::client::legacy::connect::sealed"],[58,"tower::util::oneshot"],[59,"hyper_util::client::legacy::connect"],[60,"core::fmt"],[61,"std::path"],[62,"core::convert"],[63,"core::pin"],[64,"core::task::wake"],[65,"std::io::error"],[66,"core::result"],[67,"core::task::poll"],[68,"hyper::rt::io"],[69,"tokio::io::read_buf"],[70,"std::io"],[71,"hyperlocal::server"],[72,"core::error"],[73,"alloc::boxed"],[74,"core::future::future"],[75,"hyper::body::incoming"],[76,"http::request"],[77,"core::ops::function"],[78,"core::any"],[79,"hyper_util::client::legacy::client"],[80,"http_body"],[81,"core::marker"]],"i":[0,0,0,0,0,7,1,3,7,1,3,1,1,3,1,3,1,7,1,7,1,3,7,1,3,7,1,3,7,3,7,7,7,7,1,7,7,7,7,7,27,1,3,7,1,3,7,1,3,7,1,3,39,39],"f":"`````{ce{}{}}00000{{bd}c{}}{bb}{ff}{{ce}h{}{}}0{{cjd}{{l{ed}}}{}{}}{nA`}{{}b}{{nAb}Ad}{{bAb}Ad}{{fAb}Ad}{cc{}}00;;;{nAf}{{cAh}f{{Al{Aj}}}}{{{An{n}}B`}{{Bf{{Bd{hBb}}}}}}0{{{An{n}}B`Bh}{{Bf{{Bd{hBb}}}}}}{{{An{n}}B`Bj}{{Bf{{Bl{h}}}}}}{{bB`}{{Bf{{Bd{hc}}}}}{}}33{{{An{n}}B`{C`{Bn}}}{{Bf{{Bd{CbBb}}}}}}0{{{An{n}}B`{C`{Cd}}}{{Bf{{Bd{CbBb}}}}}}{{Cfg}{{`{{Cn{}{{Ch{{Bd{h{Cl{Cj}}}}}}}}}}}{{Cn{}{{Ch{Bd}}}}}{{Dd{{Db{D`}}}{{Ch{c}}}}}{{Dd{}{{Ch{e}}}}}}{ce{}{}}0{c{{Bd{e}}}{}{}}00000{cDf{}}00{{}{{Dh{bc}}}{DjDl}}0","D":"B`","p":[[5,"UnixConnector",0,54],[5,"Uri",55],[5,"Uri",0,56],[1,"unit"],[5,"Internal",57],[5,"Oneshot",58],[5,"UnixStream",0,54],[5,"Connected",59],[5,"Formatter",60],[8,"Result",60],[1,"bool"],[1,"str"],[5,"Path",61],[10,"AsRef",62],[5,"Pin",63],[5,"Context",64],[5,"Error",65],[6,"Result",66],[6,"Poll",67],[5,"ReadBufCursor",68],[5,"ReadBuf",69],[8,"Result",65],[1,"u8"],[1,"slice"],[1,"usize"],[5,"IoSlice",70],[10,"UnixListenerExt",0,71],[17,"Output"],[10,"Error",72],[5,"Box",73],[10,"Future",74],[5,"Incoming",75],[5,"Request",76],[10,"Fn",77],[5,"TypeId",78],[5,"Client",79],[10,"Body",80],[10,"Send",81],[10,"UnixClientExt",0]],"r":[[0,54],[1,54],[2,71],[3,54],[4,56]],"b":[[30,"impl-AsyncWrite-for-UnixStream"],[31,"impl-Write-for-UnixStream"],[32,"impl-Read-for-UnixStream"],[33,"impl-AsyncRead-for-UnixStream"],[35,"impl-AsyncWrite-for-UnixStream"],[36,"impl-Write-for-UnixStream"],[37,"impl-Write-for-UnixStream"],[38,"impl-AsyncWrite-for-UnixStream"]],"c":"OjAAAAAAAAA=","e":"OzAAAAEAACYABAAGABAAHQAAAB8ACQAqAAoA"}]\
 ]'));
 if (typeof exports !== 'undefined') exports.searchIndex = searchIndex;
 else if (window.initSearch) window.initSearch(searchIndex);