pub struct ExplorerManager<R: ProcessRunner> {
pub runner: R,
pub restart_delay_ms: u64,
}Expand description
Explorer manager that handles explorer.exe operations
Fields§
§runner: R§restart_delay_ms: u64Implementations§
Source§impl<R: ProcessRunner> ExplorerManager<R>
impl<R: ProcessRunner> ExplorerManager<R>
pub fn new(runner: R) -> Self
pub fn with_restart_delay(self, delay_ms: u64) -> Self
Sourcepub fn kill_silent(&self) -> ProcessResult
pub fn kill_silent(&self) -> ProcessResult
Kill explorer.exe without printing (for MCP/programmatic use)
Sourcepub fn start_silent(&self) -> ProcessResult
pub fn start_silent(&self) -> ProcessResult
Start explorer.exe without printing (for MCP/programmatic use)
Sourcepub fn restart_silent(&self) -> ProcessResult
pub fn restart_silent(&self) -> ProcessResult
Restart explorer.exe without printing (for MCP/programmatic use)
Auto Trait Implementations§
impl<R> Freeze for ExplorerManager<R>where
R: Freeze,
impl<R> RefUnwindSafe for ExplorerManager<R>where
R: RefUnwindSafe,
impl<R> Send for ExplorerManager<R>where
R: Send,
impl<R> Sync for ExplorerManager<R>where
R: Sync,
impl<R> Unpin for ExplorerManager<R>where
R: Unpin,
impl<R> UnwindSafe for ExplorerManager<R>where
R: UnwindSafe,
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