pub struct App<S, P, F = FileProfileStore, C = SystemConfirmationProvider> { /* private fields */ }Implementations§
Source§impl App<KeyringCredentialStore, SystemSecretInputProvider, FileProfileStore, SystemConfirmationProvider>
impl App<KeyringCredentialStore, SystemSecretInputProvider, FileProfileStore, SystemConfirmationProvider>
pub fn production(selection: ServerSelection) -> Self
pub fn production_with_confirmation_interactivity( selection: ServerSelection, allow_interactive_confirmation: bool, ) -> Self
Source§impl<S, P, F> App<S, P, F, SystemConfirmationProvider>
impl<S, P, F> App<S, P, F, SystemConfirmationProvider>
pub const fn with_profile_store( selection: ServerSelection, credential_store: S, secret_input: P, profile_store: F, ) -> Self
Source§impl<S, P, F, C> App<S, P, F, C>
impl<S, P, F, C> App<S, P, F, C>
pub const fn with_dependencies( selection: ServerSelection, credential_store: S, secret_input: P, profile_store: F, confirmation: C, ) -> Self
pub fn with_confirmation_provider<C2>(
self,
confirmation: C2,
) -> App<S, P, F, C2>where
C2: ConfirmationProvider,
pub const fn credential_store(&self) -> &S
pub fn execute( &self, command: RootCommand, ) -> impl Future<Output = Result<CommandSuccess, AppError>> + '_
Auto Trait Implementations§
impl<S, P, F, C> Freeze for App<S, P, F, C>
impl<S, P, F, C> RefUnwindSafe for App<S, P, F, C>
impl<S, P, F, C> Send for App<S, P, F, C>
impl<S, P, F, C> Sync for App<S, P, F, C>
impl<S, P, F, C> Unpin for App<S, P, F, C>
impl<S, P, F, C> UnsafeUnpin for App<S, P, F, C>
impl<S, P, F, C> UnwindSafe for App<S, P, F, C>
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