[−][src]Struct async_ssh2_lite::AsyncAgent
Implementations
impl<S> AsyncAgent<S> where
S: AsRawFd + FromRawFd + 'static,
[src]
S: AsRawFd + FromRawFd + 'static,
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]
&'_ self,
username: &'_ str,
identity: &'_ PublicKey
) -> Result<()>
Auto Trait Implementations
impl<S> !RefUnwindSafe for AsyncAgent<S>
impl<S> Send for AsyncAgent<S> where
S: Send + Sync,
S: Send + Sync,
impl<S> Sync for AsyncAgent<S> where
S: Send + Sync,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,