pub struct Noop {}Expand description
A NonInteractive mode AuthHelper.
Trait Implementations§
Source§impl AuthHelper for Noop
impl AuthHelper for Noop
Source§fn clone_box(&self) -> Box<dyn AuthHelper>
fn clone_box(&self) -> Box<dyn AuthHelper>
Clone this helper into a boxed trait object.
Source§fn get<'life0, 'async_trait>(
&'life0 self,
_key: String,
_connection_name: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<String, AuthHelperError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get<'life0, 'async_trait>(
&'life0 self,
_key: String,
_connection_name: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<String, AuthHelperError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Interactive query to get the regular not sensitive authentication data (i.e. username,
project name, …)
Source§fn get_secret<'life0, 'async_trait>(
&'life0 self,
_key: String,
_connection_name: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<SecretString, AuthHelperError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_secret<'life0, 'async_trait>(
&'life0 self,
_key: String,
_connection_name: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<SecretString, AuthHelperError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Interactive query to get the sensitive data (i.e. password or token)
Auto Trait Implementations§
impl Freeze for Noop
impl RefUnwindSafe for Noop
impl Send for Noop
impl Sync for Noop
impl Unpin for Noop
impl UnsafeUnpin for Noop
impl UnwindSafe for Noop
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