[][src]Struct actix_framed::FramedApp

pub struct FramedApp<T, S = ()> { /* fields omitted */ }

Application builder

Methods

impl<T: 'static> FramedApp<T, ()>[src]

pub fn new() -> Self[src]

impl<T: 'static, S: 'static> FramedApp<T, S>[src]

pub fn with(state: S) -> FramedApp<T, S>[src]

pub fn service<U>(self, factory: U) -> Self where
    U: HttpServiceFactory,
    U::Factory: NewService<Request = FramedRequest<T, S>, Response = (), Error = Error, InitError = ()> + 'static,
    <U::Factory as NewService>::Future: 'static,
    <U::Factory as NewService>::Service: Service<Request = FramedRequest<T, S>, Response = (), Error = Error, Future = Box<dyn Future<Item = (), Error = Error>>>, 
[src]

Auto Trait Implementations

impl<T, S = ()> !Send for FramedApp<T, S>

impl<T, S = ()> !Sync for FramedApp<T, S>

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T