Skip to main content

IntoBoxStreamingHttpService

Trait IntoBoxStreamingHttpService 

Source
pub trait IntoBoxStreamingHttpService: Sized {
    // Required method
    fn into_streaming_box(self) -> BoxStreamingHttpService;
}
Available on crate feature tower only.
Expand description

Extension trait to box a configured streaming service stack.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<S> IntoBoxStreamingHttpService for S
where S: Service<HttpRequest, Response = HttpStreamingResponse, Error = Error> + Clone + Send + 'static, S::Future: Send + 'static,