Struct distant_ssh2::Ssh2AuthPrompt
source · [−]Expand description
Represents a singular authentication prompt for a new ssh session
Fields
prompt: StringThe label to show when prompting the user
echo: boolIf true, the response that the user inputs should be displayed as they type. If false then treat it as a password entry and do not display what is typed in response to this prompt.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Ssh2AuthPrompt
impl Send for Ssh2AuthPrompt
impl Sync for Ssh2AuthPrompt
impl Unpin for Ssh2AuthPrompt
impl UnwindSafe for Ssh2AuthPrompt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more