server.Server.new
Rust
- Python Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- server
- Declared in
- Server
- Package
- libtmux
- Source
- crates/libtmux/src/server.rs
-
Construct a server from the captured default endpoint context.
Errors
Returns an error when the working directory or socket root cannot be captured.
Examples
let server = libtmux::Server::new()?;assert!(server.socket_path().is_absolute());Discussed in Socket and servers
0 declared, 0 inherited