[][src]Struct ntex_amqp::server::Connect

pub struct Connect<Io> { /* fields omitted */ }

Open new connection

Methods

impl<Io> Connect<Io>[src]

pub fn get_ref(&self) -> &Io[src]

Returns reference to io object

pub fn get_mut(&mut self) -> &mut Io[src]

Returns mutable reference to io object

impl<Io: AsyncRead + AsyncWrite + Unpin> Connect<Io>[src]

pub async fn open(self) -> Result<ConnectOpened<Io>, ServerError<()>>[src]

Wait for connection open frame

Auto Trait Implementations

impl<Io> !RefUnwindSafe for Connect<Io>

impl<Io> !Send for Connect<Io>

impl<Io> !Sync for Connect<Io>

impl<Io> Unpin for Connect<Io> where
    Io: Unpin

impl<Io> !UnwindSafe for Connect<Io>

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