On this page
server.Server.new
- 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