[][src]Trait actix_server::ServiceFactory

pub trait ServiceFactory<Stream: FromStream>: Send + Clone + 'static {
    type Factory: ServiceFactory<Config = (), Request = Stream>;
    fn create(&self) -> Self::Factory;
}

Associated Types

type Factory: ServiceFactory<Config = (), Request = Stream>

Loading content...

Required methods

fn create(&self) -> Self::Factory

Loading content...

Implementors

impl<F, T, I> ServiceFactory<I> for F where
    F: Fn() -> T + Send + Clone + 'static,
    T: ServiceFactory<Config = (), Request = I>,
    I: FromStream, 
[src]

type Factory = T

Loading content...