pub struct SystemSecretInputProvider;Trait Implementations§
Source§impl Clone for SystemSecretInputProvider
impl Clone for SystemSecretInputProvider
impl Copy for SystemSecretInputProvider
Source§impl Debug for SystemSecretInputProvider
impl Debug for SystemSecretInputProvider
Source§impl Default for SystemSecretInputProvider
impl Default for SystemSecretInputProvider
Source§impl SecretInputProvider for SystemSecretInputProvider
impl SecretInputProvider for SystemSecretInputProvider
Source§fn read_storage_secret(
&self,
source: SecretSource,
limit: usize,
) -> SecretInputFuture<'_>
fn read_storage_secret( &self, source: SecretSource, limit: usize, ) -> SecretInputFuture<'_>
Read a bounded UTF-8 storage credential, removing one final LF or CRLF.
Source§fn read_raw_secret(&self) -> Result<SecretString, AppError>
fn read_raw_secret(&self) -> Result<SecretString, AppError>
Read exact UTF-8 bytes through EOF, including line endings and empty input.
fn read_new_account_password( &self, from_stdin: bool, ) -> Result<SecretString, AppError>
fn read_login_secrets( &self, mode: LoginSecretMode, ) -> Result<LoginSecrets, AppError>
Auto Trait Implementations§
impl Freeze for SystemSecretInputProvider
impl RefUnwindSafe for SystemSecretInputProvider
impl Send for SystemSecretInputProvider
impl Sync for SystemSecretInputProvider
impl Unpin for SystemSecretInputProvider
impl UnsafeUnpin for SystemSecretInputProvider
impl UnwindSafe for SystemSecretInputProvider
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