pub struct AppContext { /* private fields */ }Implementations§
Source§impl AppContext
impl AppContext
pub fn builder() -> AppContextBuilder
pub fn docker_client(&self) -> Arc<dyn DockerClient>
pub fn file_system(&self) -> Arc<dyn FileSystemOperations>
pub fn git_operations(&self) -> Arc<dyn GitOperations>
pub fn notification_client(&self) -> Arc<dyn NotificationClient>
pub fn repository_context(&self) -> Arc<dyn RepositoryContext>
pub fn terminal_operations(&self) -> Arc<dyn TerminalOperations>
pub fn tsk_client(&self) -> Arc<dyn TskClient>
pub fn xdg_directories(&self) -> Arc<XdgDirectories>
Trait Implementations§
Source§impl Clone for AppContext
impl Clone for AppContext
Source§fn clone(&self) -> AppContext
fn clone(&self) -> AppContext
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AppContext
impl !RefUnwindSafe for AppContext
impl Send for AppContext
impl Sync for AppContext
impl Unpin for AppContext
impl !UnwindSafe for AppContext
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