[][src]Struct ntex_amqp::server::Handshake

pub struct Handshake<Io, St, A> { /* fields omitted */ }

Methods

impl<Io, St, A> Handshake<Io, St, A> where
    A: ServiceFactory<Config = ()>, 
[src]

pub fn new<F>(srv: F) -> Handshake<Io, St, A> where
    F: IntoServiceFactory<A>, 
[src]

impl<Io, St, A> Handshake<Io, St, A> where
    A: ServiceFactory<Config = (), Response = ConnectAck<Io, St>>, 
[src]

pub fn sasl<F, B>(self, srv: F) -> Either<A, B> where
    F: IntoServiceFactory<B>,
    B: ServiceFactory<Config = (), Response = A::Response, Error = A::Error, InitError = A::InitError>,
    B::Error: Into<Error>, 
[src]

Auto Trait Implementations

impl<Io, St, A> RefUnwindSafe for Handshake<Io, St, A> where
    A: RefUnwindSafe,
    Io: RefUnwindSafe,
    St: RefUnwindSafe

impl<Io, St, A> Send for Handshake<Io, St, A> where
    A: Send,
    Io: Send,
    St: Send

impl<Io, St, A> Sync for Handshake<Io, St, A> where
    A: Sync,
    Io: Sync,
    St: Sync

impl<Io, St, A> Unpin for Handshake<Io, St, A> where
    A: Unpin,
    Io: Unpin,
    St: Unpin

impl<Io, St, A> UnwindSafe for Handshake<Io, St, A> where
    A: UnwindSafe,
    Io: UnwindSafe,
    St: UnwindSafe

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>,