control.ControlEvents.shutdown
Rust
- Python Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- control
- Declared in
- ControlEvents
- Package
- libtmux
- Source
- crates/libtmux/src/control.rs
-
End the connection and report how it went.
Stops the connection even while command senders remain alive. Unread notifications are discarded so cleanup cannot wait on a full buffer. If the stream already delivered its terminal error, this succeeds; that error is not delivered twice.
Errors
Returns a connection or cleanup error not already delivered by the stream. Caller-requested closure succeeds when cleanup succeeds.
0 declared, 0 inherited