[][src]Struct async_ssh2::Agent

pub struct Agent { /* fields omitted */ }

See Agent.

Implementations

impl Agent[src]

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

See connect.

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

pub fn list_identities(&mut self) -> Result<(), Error>[src]

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

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

See userauth.

Auto Trait Implementations

impl !RefUnwindSafe for Agent

impl Send for Agent

impl Sync for Agent

impl Unpin for Agent

impl !UnwindSafe for Agent

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.