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

server.builder.ServerBuilder.socket_path

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

View as Markdown

Module
server.builder
Declared in
ServerBuilder
Package
libtmux
Source
crates/libtmux/src/server/builder.rs
socket_path ( mut , path : impl Into<PathBuf> ) → Self
method [source]
method [source]
socket_path

Select an explicit tmux socket path.

Relative paths are joined to the working directory captured by ServerBuilder::build .

Examples

let server = libtmux::Server::builder()
.socket_path("/tmp/libtmux-rs-test/explicit-example.sock")
.build()?;
assert!(server.socket_path().is_absolute());

0 declared, 0 inherited

Esc

Type to search.