pub enum AsyncSessionUserauthType {
Password {
password: String,
},
Agent,
PubkeyFile {
pubkey: Option<PathBuf>,
privatekey: PathBuf,
passphrase: Option<String>,
},
}Variants§
Trait Implementations§
source§impl Clone for AsyncSessionUserauthType
impl Clone for AsyncSessionUserauthType
source§fn clone(&self) -> AsyncSessionUserauthType
fn clone(&self) -> AsyncSessionUserauthType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more