1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-27 02:25:28 +03:00
wezterm/wezterm-mux-server-impl/src
Wez Furlong 02eb0b4294
mux: rename Mux::get() -> try_get(), add "infallible" Mux::get()
This allows removing a bunch of unwrap/expect calls.

However, my primary motive was to replace the cases where we used
Mux::get() == None to indicate that we were not on the main thread.

A separate API has been added to test for that explicitly rather than
implicitly.
2022-12-19 11:55:35 -07:00
..
dispatch.rs mux: rename Mux::get() -> try_get(), add "infallible" Mux::get() 2022-12-19 11:55:35 -07:00
lib.rs mux: factor out server bits to helper crate 2020-12-29 15:25:15 -08:00
local.rs reduce log level of some diagnostics printed on startup 2022-04-09 22:19:22 -07:00
pki.rs mux: factor out server bits to helper crate 2020-12-29 15:25:15 -08:00
sessionhandler.rs mux: rename Mux::get() -> try_get(), add "infallible" Mux::get() 2022-12-19 11:55:35 -07:00