[][src]Struct async_ssh::NewSession

pub struct NewSession<S: AsyncRead + AsyncWrite> { /* fields omitted */ }

A newly established, unauthenticated SSH session.

All you can really do with this in authenticate it using one of the authenticate_* methods. You'll most likely want NewSession::authenticate_key.

Methods

impl<S: AsyncRead + AsyncWrite + 'static> NewSession<S>
[src]

Authenticate as the given user using the given keypair.

See also thrussh::client::Connection::authenticate_key.

Auto Trait Implementations

impl<S> !Send for NewSession<S>

impl<S> !Sync for NewSession<S>

Blanket Implementations

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T