control.ControlMode.attach_with_limits
Rust
- Python Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- control
- Declared in
- ControlMode
- Package
- libtmux
- Source
- crates/libtmux/src/control.rs
- attach_with_limits ( server : &Server , session : &SessionId , limits : ControlLimits ) Result<Self, Error>
-
Attach with explicit frame budgets.
Control mode reads from a process that keeps running, so the framing is the only thing bounding memory: a line that never ends, or a block whose
%endnever arrives, otherwise grows until the machine notices.Errors
Returns an error when the connection cannot be opened, as
Self::attachdoes.Server::shutdowncancels an attach in progress and refuses later attempts.Cancel safety
Nothing is left held, as for
Self::attach.
0 declared, 0 inherited