pub struct AppContextBuilder { /* private fields */ }Implementations§
Source§impl AppContextBuilder
impl AppContextBuilder
pub fn new() -> Self
pub fn with_docker_client(self, docker_client: Arc<dyn DockerClient>) -> Self
pub fn with_file_system( self, file_system: Arc<dyn FileSystemOperations>, ) -> Self
pub fn with_git_operations(self, git_operations: Arc<dyn GitOperations>) -> Self
pub fn with_notification_client( self, notification_client: Arc<dyn NotificationClient>, ) -> Self
pub fn with_repository_context( self, repository_context: Arc<dyn RepositoryContext>, ) -> Self
pub fn with_terminal_operations( self, terminal_operations: Arc<dyn TerminalOperations>, ) -> Self
pub fn with_tsk_client(self, tsk_client: Arc<dyn TskClient>) -> Self
pub fn with_xdg_directories(self, xdg_directories: Arc<XdgDirectories>) -> Self
pub fn build(self) -> AppContext
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppContextBuilder
impl !RefUnwindSafe for AppContextBuilder
impl Send for AppContextBuilder
impl Sync for AppContextBuilder
impl Unpin for AppContextBuilder
impl !UnwindSafe for AppContextBuilder
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