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

test.TestServer.new

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

View as Markdown

Module
test
Declared in
TestServer
Package
libtmux
Source
crates/libtmux/src/test.rs
new ( ) → Result<Self, TestServerError>
method [source]
method [source]
new

Start an isolated tmux server with the default builder settings.

Errors

Returns a source-less test-support error when setup or startup fails.

Examples

let guard = libtmux::test::TestServer::new().await?;
guard.shutdown().await?;

0 declared, 0 inherited

Esc

Type to search.