pub struct ConsolePasswordProvider;Expand description
Console-based password provider
Trait Implementations§
Source§impl PasswordProvider for ConsolePasswordProvider
impl PasswordProvider for ConsolePasswordProvider
Source§fn prompt_user_password(&self) -> ParseResult<Option<String>>
fn prompt_user_password(&self) -> ParseResult<Option<String>>
Prompt for user password
Source§fn prompt_owner_password(&self) -> ParseResult<Option<String>>
fn prompt_owner_password(&self) -> ParseResult<Option<String>>
Prompt for owner password
Auto Trait Implementations§
impl Freeze for ConsolePasswordProvider
impl RefUnwindSafe for ConsolePasswordProvider
impl Send for ConsolePasswordProvider
impl Sync for ConsolePasswordProvider
impl Unpin for ConsolePasswordProvider
impl UnwindSafe for ConsolePasswordProvider
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