[][src]Struct async_ssh2_lite::AsyncAgent

pub struct AsyncAgent<S> { /* fields omitted */ }

Implementations

impl<S> AsyncAgent<S> where
    S: AsRawFd + FromRawFd + 'static, 
[src]

pub fn new(stream: Async<S>) -> Result<Self>[src]

impl<S> AsyncAgent<S>[src]

pub async fn connect<'_>(&'_ mut self) -> Result<()>[src]

pub async fn disconnect<'_>(&'_ mut self) -> Result<()>[src]

pub async fn list_identities<'_>(&'_ mut self) -> Result<()>[src]

pub fn identities(&self) -> Result<Vec<PublicKey>>[src]

pub async fn userauth<'_, '_, '_>(
    &'_ self,
    username: &'_ str,
    identity: &'_ PublicKey
) -> Result<()>
[src]

Auto Trait Implementations

impl<S> !RefUnwindSafe for AsyncAgent<S>

impl<S> Send for AsyncAgent<S> where
    S: Send + Sync

impl<S> Sync for AsyncAgent<S> where
    S: Send + Sync

impl<S> Unpin for AsyncAgent<S>

impl<S> !UnwindSafe for AsyncAgent<S>

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