pub struct TestDaemon { /* private fields */ }Expand description
An in-process daemon with explicit configuration and deterministic shutdown.
Implementations§
Source§impl TestDaemon
impl TestDaemon
pub async fn spawn( workspace_root: &Path, language: LanguageId, request_timeout: Duration, ) -> Result<Self, TestDaemonError>
pub fn shutdown(self) -> Result<(), TestDaemonError>
Trait Implementations§
Source§impl Drop for TestDaemon
impl Drop for TestDaemon
Auto Trait Implementations§
impl !RefUnwindSafe for TestDaemon
impl !UnwindSafe for TestDaemon
impl Freeze for TestDaemon
impl Send for TestDaemon
impl Sync for TestDaemon
impl Unpin for TestDaemon
impl UnsafeUnpin for TestDaemon
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