Trait thrussh::Signer[][src]

pub trait Signer: Sized {
    type Error: From<SendError>;
    type Future: Future<Output = (Self, Result<CryptoVec, Self::Error>)> + Send;
    fn auth_publickey_sign(
        self,
        key: &PublicKey,
        to_sign: CryptoVec
    ) -> Self::Future; }

Associated Types

type Error: From<SendError>[src]

type Future: Future<Output = (Self, Result<CryptoVec, Self::Error>)> + Send[src]

Loading content...

Required methods

fn auth_publickey_sign(
    self,
    key: &PublicKey,
    to_sign: CryptoVec
) -> Self::Future
[src]

Loading content...

Implementations on Foreign Types

impl<R: AsyncRead + AsyncWrite + Unpin + Send + 'static> Signer for AgentClient<R>[src]

type Error = AgentAuthError

type Future = Pin<Box<dyn Future<Output = (Self, Result<CryptoVec, Self::Error>)> + Send>>

Loading content...

Implementors

Loading content...