[][src]Struct thrussh::client::ChannelOpen

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

A future resolving into an open channel number of type ChannelType, which can be either SessionChannel, X11Channel or DirectTcpIdChannel.

Trait Implementations

impl<R: AsyncRead + AsyncWrite + Tcp, H: Handler, ChannelType> Future for ChannelOpen<R, H, ChannelType>[src]

type Item = (Connection<R, H>, ChannelId)

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, ChannelType> Send for ChannelOpen<R, H, ChannelType> where
    ChannelType: Send,
    H: Send,
    R: Send,
    <H as Handler>::FutureBool: Send,
    <H as Handler>::FutureSign: Send,
    <H as Handler>::SessionUnit: Send

impl<R, H, ChannelType> Sync for ChannelOpen<R, H, ChannelType> where
    ChannelType: Sync,
    H: Sync,
    R: Sync,
    <H as Handler>::FutureBool: Sync,
    <H as Handler>::FutureSign: Sync,
    <H as Handler>::SessionUnit: Sync

impl<R, H, ChannelType> Unpin for ChannelOpen<R, H, ChannelType> where
    ChannelType: Unpin,
    H: Unpin,
    R: Unpin,
    <H as Handler>::FutureBool: Unpin,
    <H as Handler>::FutureSign: Unpin,
    <H as Handler>::SessionUnit: Unpin

impl<R, H, ChannelType> !UnwindSafe for ChannelOpen<R, H, ChannelType>

impl<R, H, ChannelType> !RefUnwindSafe for ChannelOpen<R, H, ChannelType>

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.