Skip to main content

SshFactoryExt

Trait SshFactoryExt 

Source
pub trait SshFactoryExt {
    // Required method
    fn ssh_key(&self, label: impl AsRef<str>, spec: SshSpec) -> SshKeyPair;
}

Required Methods§

Source

fn ssh_key(&self, label: impl AsRef<str>, spec: SshSpec) -> SshKeyPair

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SshFactoryExt for Factory

Source§

fn ssh_key(&self, label: impl AsRef<str>, spec: SshSpec) -> SshKeyPair

Implementors§