Client.get
Read one field of this client's snapshot, named by the handle that filters it.
Source and package
- Qualified name
-
libtmux::client:: Client:: get - Module
- client
- Declared in
Client- Package
- libtmux
- Source
- crates/libtmux/src/client.rs
-
Description
Every field in
ClientFieldsreads this way, including those with no getter of their own. Nothing is sent to tmux, so the value is as old as the snapshot. The result says why a field holds no value: seeAvailability.Examples
use libtmux::Client;use libtmux::query::Filterable as _;let fields = Client::filter_fields();for client in server.clients().await? {// The key table a client is in: `prefix` right after the prefix key.if let Some(table) = client.get(fields.client_key_table).available() {println!("{client}: {}", table.to_string_lossy());}}
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 client.Client.get.