DaemonState.is_running
Whether the daemon has not exited.
Source and package
- Qualified name
-
libtmux::test:: Daemon State:: is _running - Module
- test
- Declared in
DaemonState- Package
- libtmux
- Source
- crates/libtmux/src/test.rs
-
Description#
DaemonState::Unreadablecounts as not running: a fixture that cannot prove its daemon is there has nothing to assert against.Examples#
let mut guard = libtmux::test::TestServer::new().await?;assert!(guard.daemon_state().is_running());guard.shutdown().await?;