pub enum PromptKind {
Password,
Passphrase,
Interactive,
}Expand description
What an AuthPrompt asks for.
Variants§
Password
The account password (worth offering to remember).
Passphrase
The passphrase of a private key file.
Interactive
A question from the server’s keyboard-interactive login, such as a one-time code.
Trait Implementations§
Source§impl Clone for PromptKind
impl Clone for PromptKind
impl Copy for PromptKind
Source§impl Debug for PromptKind
impl Debug for PromptKind
impl Eq for PromptKind
Source§impl PartialEq for PromptKind
impl PartialEq for PromptKind
impl StructuralPartialEq for PromptKind
Auto Trait Implementations§
impl Freeze for PromptKind
impl RefUnwindSafe for PromptKind
impl Send for PromptKind
impl Sync for PromptKind
impl Unpin for PromptKind
impl UnsafeUnpin for PromptKind
impl UnwindSafe for PromptKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more