[−][src]Struct async_ssh2::Agent
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]
See disconnect
.
pub fn list_identities(&mut self) -> Result<(), Error>
[src]
See list_identities
.
pub fn identities(&self) -> Result<Vec<PublicKey>, Error>
[src]
See identities
.
pub async fn userauth<'_, '_, '_>(
&'_ self,
username: &'_ str,
identity: &'_ PublicKey
) -> Result<(), Error>
[src]
&'_ self,
username: &'_ str,
identity: &'_ PublicKey
) -> Result<(), Error>
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]
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,
pub 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.
pub 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>,