ControlEvents.shutdown
End the connection and report how it went.
Source and package
- Qualified name
-
libtmux::control:: Control Events:: shutdown - Module
- control
- Declared in
ControlEvents- Package
- libtmux
- Source
- crates/libtmux/src/control.rs
-
- Completion
- Returns a future that runs when awaited.signature · control.rs:1273
- Errors
- Returns a connection or cleanup error not already delivered by the stream. Caller-requested closure succeeds when cleanup succeeds.doc comment · :1271
- Cleanup
- Unread notifications are discarded so cleanup cannot wait on a full buffer.doc comment · :1264
Description
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.
Recorded calls
source callsThe Rust reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls control.ControlEvents.shutdown.
Guides
task materialPages that discuss shutdown.