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

test.TestServer.socket_path

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
socket_path ( self ) → &Path
method [source]
method [source]
socket_path

Return this guard's explicit Unix socket path.

The path is removed during successful shutdown or forced Drop cleanup.

Examples

let guard = libtmux::test::TestServer::new().await?;
assert!(guard.socket_path().is_absolute());
guard.shutdown().await?;

0 declared, 0 inherited

Esc

Type to search.