macro_rules! set_thread_name {
($name: literal) => { ... };
}
Expand description
Convenience macro for Client::set_thread_name
on the current client.
Note that any interior null characters terminate the name early. This is not checked for.
§Panics
- If a
Client
isn’t currently running.