[][src]Struct ntex_amqp::server::App

pub struct App<S = ()>(_);

Methods

impl<S: 'static> App<S>[src]

pub fn new() -> App<S>[src]

pub fn service<T, F, U: 'static>(self, address: T, service: F) -> Self where
    T: IntoPattern,
    F: IntoServiceFactory<U>,
    U: ServiceFactory<Config = Link<S>, Request = Message<S>, Response = Outcome>,
    U::Error: Into<Error>,
    U::InitError: Into<Error>, 
[src]

pub fn finish(
    self
) -> impl ServiceFactory<Config = State<S>, Request = Link<S>, Response = (), Error = Error, InitError = Error>
[src]

Auto Trait Implementations

impl<S = ()> !RefUnwindSafe for App<S>

impl<S = ()> !Send for App<S>

impl<S = ()> !Sync for App<S>

impl<S> Unpin for App<S>

impl<S = ()> !UnwindSafe for App<S>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<V, T> VZip<V> for T where
    V: MultiLane<T>,