# server.discovery.Server.client

- **Module:** server.discovery.Server
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/server/discovery.rs#L238
- **Page:** https://libtmux.org/reference/rs/server-discovery-server-client/

```
server.discovery.Server.client(self, name: impl AsRef<[u8]>) -> Result<Option<Client>, Error>
```

Find the client attached to this terminal.

# Errors

Returns an error when the client listing fails.
