Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux-rs

ControlSender.reply_timeout

Set how long a command waits for its result block.

Source and package
Qualified name
libtmux::control::ControlSender::reply_timeout
Module
control
Declared in
ControlSender
Package
libtmux
Source
crates/libtmux/src/control.rs
#[must_use] pub fn reply_timeout(self, timeout: Duration) -> Self
Completion
Those two are not comparable: attaching forks tmux and waits for a server to answer, where a command is a round trip on a connection that is already open.doc comment · control.rs:704
Bounded by
The deadline covers the whole call, so a command large enough to be worth serializing spends part of its own budget being written.doc comment · :709

Description

The default is the server's default_timeout, which also bounds the opening handshake. Those two are not comparable: attaching forks tmux and waits for a server to answer, where a command is a round trip on a connection that is already open. Set this when a command should give up sooner than attaching was allowed to take.

The deadline covers the whole call, so a command large enough to be worth serializing spends part of its own budget being written.

Parameters

Recorded calls

source calls
No call edges in the Rust model.

The 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.ControlSender.reply_timeout.

Guides

task material

Pages that discuss reply_timeout.

Esc
Search in

Type to search.

Reference previewOpen reference