Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

test.DaemonState.is_running

Rust
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
test
Declared in
DaemonState
Package
libtmux
Source
crates/libtmux/src/test.rs
is_running ( self ) → bool
method [source]
method [source]
is_running

Whether the daemon has not exited.

DaemonState::Unreadable counts 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?;

0 declared, 0 inherited

Esc

Type to search.