[][src]Struct thrussh::client::Wait

pub struct Wait<R: AsyncRead + AsyncWrite, H: Handler, F> { /* fields omitted */ }

A future waiting for a channel to be closed.

Trait Implementations

impl<R: AsyncRead + AsyncWrite + Tcp, H: Handler, F: Fn(&Connection<R, H>) -> bool> Future for Wait<R, H, F>[src]

type Item = Connection<R, H>

The type of value that this future will resolved with if it is successful. Read more

type Error = HandlerError<H::Error>

The type of error that this future will resolve with if it fails in a normal fashion. Read more

Auto Trait Implementations

impl<R, H, F> Send for Wait<R, H, F> where
    F: Send,
    H: Send,
    R: Send,
    <H as Handler>::FutureBool: Send,
    <H as Handler>::FutureSign: Send,
    <H as Handler>::SessionUnit: Send

impl<R, H, F> Sync for Wait<R, H, F> where
    F: Sync,
    H: Sync,
    R: Sync,
    <H as Handler>::FutureBool: Sync,
    <H as Handler>::FutureSign: Sync,
    <H as Handler>::SessionUnit: Sync

impl<R, H, F> Unpin for Wait<R, H, F> where
    F: Unpin,
    H: Unpin,
    R: Unpin,
    <H as Handler>::FutureBool: Unpin,
    <H as Handler>::FutureSign: Unpin,
    <H as Handler>::SessionUnit: Unpin

impl<R, H, F> !UnwindSafe for Wait<R, H, F>

impl<R, H, F> !RefUnwindSafe for Wait<R, H, F>

Blanket Implementations

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

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

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

type Error = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> FutureExt for T where
    T: Future + ?Sized
[src]

impl<F> IntoFuture for F where
    F: Future
[src]

type Future = F

The future that this type can be converted into.

type Item = <F as Future>::Item

The item that the future may resolve with.

type Error = <F as Future>::Error

The error that the future may resolve with.