[−][src]Trait izanami_http::Connection
An asynchronous object that manages the connection to a remote peer.
Associated Types
type Error
The error type which will returned from this connection.
Required methods
fn poll_close(&mut self) -> Poll<(), Self::Error>
Polls until the all incoming requests are handled and the connection is closed.
fn graceful_shutdown(&mut self)
Notifies a shutdown signal to the connection.
The connection may accept some requests for a while even after receiving this notification.
Implementors
impl<F> Connection for F where
F: Future<Item = ()>,
[src]
F: Future<Item = ()>,