control.ControlEvents.next_event
Rust
- Python Unavailable
- Ruby Unavailable
- Lua 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
-
Return the next notification or terminal error, then
None.Once
Noneis returned, subsequent calls also returnNone. SeeControlEventsfor the EOF and cleanup contract.Errors
Yields one terminal error for transport failure, unexpected EOF, a frame budget or command deadline being exceeded, executor shutdown, or failed connection cleanup. A panic in the connection task resumes here instead, since nothing else would report it.
Cancel safety
Nothing happened: a dropped call consumes neither an event nor the terminal error.
0 declared, 0 inherited