Struct async_ssh2_lite::AsyncAgent
source · [−]pub struct AsyncAgent<S> { /* private fields */ }
Implementations
sourceimpl<S> AsyncAgent<S> where
S: AsRawFd + FromRawFd + 'static,
impl<S> AsyncAgent<S> where
S: AsRawFd + FromRawFd + 'static,
sourceimpl<S> AsyncAgent<S>
impl<S> AsyncAgent<S>
pub async fn connect(&mut self) -> Result<()>
pub async fn disconnect(&mut self) -> Result<()>
pub async fn list_identities(&mut self) -> Result<()>
pub fn identities(&self) -> Result<Vec<PublicKey>>
pub async fn userauth(&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,
impl<S> Sync for AsyncAgent<S> where
S: Send + Sync,
impl<S> Unpin for AsyncAgent<S>
impl<S> !UnwindSafe for AsyncAgent<S>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more