mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-30 08:38:16 +02:00
make Pipeline private
This commit is contained in:
@@ -17,11 +17,11 @@ use httpresponse::HttpResponse;
|
||||
use middleware::{Middleware, Finished, Started, Response};
|
||||
use application::Inner;
|
||||
|
||||
pub trait PipelineHandler<S> {
|
||||
pub(crate) trait PipelineHandler<S> {
|
||||
fn handle(&mut self, req: HttpRequest<S>) -> Reply;
|
||||
}
|
||||
|
||||
pub struct Pipeline<S, H>(PipelineInfo<S>, PipelineState<S, H>);
|
||||
pub(crate) struct Pipeline<S, H>(PipelineInfo<S>, PipelineState<S, H>);
|
||||
|
||||
enum PipelineState<S, H> {
|
||||
None,
|
||||
|
Reference in New Issue
Block a user