Sealed

Trait Sealed 

Source
pub trait Sealed { }

Implementations on Foreign Types§

Source§

impl<I, B, S> Sealed for Connection<I, S>
where S: HttpService<Incoming, ResBody = B>, S::Error: Into<Box<dyn Error + Send + Sync>>, I: Read + Write + Unpin + 'static, B: Body + 'static, B::Error: Into<Box<dyn Error + Send + Sync>>,

Available on crate feature http1 only.
Source§

impl<I, B, S> Sealed for UpgradeableConnection<I, S>
where S: HttpService<Incoming, ResBody = B>, S::Error: Into<Box<dyn Error + Send + Sync>>, I: Read + Write + Unpin + 'static, B: Body + 'static, B::Error: Into<Box<dyn Error + Send + Sync>>,

Available on crate feature http1 only.
Source§

impl<I, B, S, E> Sealed for Connection<I, S, E>
where S: HttpService<Incoming, ResBody = B>, S::Error: Into<Box<dyn Error + Send + Sync>>, I: Read + Write + Unpin + 'static, B: Body + 'static, B::Error: Into<Box<dyn Error + Send + Sync>>, E: Http2ServerConnExec<S::Future, B>,

Available on crate feature http2 only.

Implementors§

Source§

impl<I, B, S, E> Sealed for hyper_util::server::conn::auto::Connection<'_, I, S, E>
where S: Service<Request<Incoming>, Response = Response<B>>, S::Error: Into<Box<dyn Error + Send + Sync>>, S::Future: 'static, I: Read + Write + Unpin + 'static, B: Body + 'static, B::Error: Into<Box<dyn Error + Send + Sync>>, E: Http2ServerConnExec<S::Future, B>,

Available on crate feature server-auto only.
Source§

impl<I, B, S, E> Sealed for hyper_util::server::conn::auto::UpgradeableConnection<'_, I, S, E>
where S: Service<Request<Incoming>, Response = Response<B>>, S::Error: Into<Box<dyn Error + Send + Sync>>, S::Future: 'static, I: Read + Write + Unpin + Send + 'static, B: Body + 'static, B::Error: Into<Box<dyn Error + Send + Sync>>, E: Http2ServerConnExec<S::Future, B>,

Available on crate feature server-auto only.