Skip to main content

Module traits

Module traits 

Expand description

Windows implementations of the cssh-rs-platform traits.

The impls wrap the existing WindowsApi helpers and tokio::net::windows::named_pipe so the daemon and client can be ported to the platform-agnostic surface in later milestones. They are not consumed by the M0 daemon/client yet; the trait surface is what Linux and macOS stubs need to mirror.

Structsยง

SendHwnd
Send + Sync wrapper around [HWND].
SendProcessInformation
Send + Sync wrapper around [PROCESS_INFORMATION].
WindowsControlChannelClient
Client-side control channel backed by a Windows named pipe client.
WindowsControlChannelServer
Daemon-side control channel backed by a Windows named pipe server.
WindowsLaunchContext
Windows-side LaunchContext.
WindowsProcessSpawner
Process spawner backed by WindowsApi::create_process_with_os_args.
WindowsWindowHandleProbe
Window-handle probe backed by WindowsApi::get_window_handle_for_process.