Skip to main content

Module transport

Module transport 

Source
Expand description

Fixed OpenSSH invocation and bounded process execution.

Structs§

ProcessSshRunner
OpenSSH-backed runner using argument arrays and piped standard I/O.
SshInvocation
Fixed OpenSSH process specification for one worker exchange.

Enums§

SshTransportError
Stable, secret-free OpenSSH transport failure.

Constants§

MAX_SSH_REQUEST_BYTES
Maximum JSON request accepted by the process transport.
MAX_SSH_RESPONSE_BYTES
Maximum JSON response accepted from a worker.
SSH_CONNECT_TIMEOUT_SECONDS
Fixed OpenSSH TCP connection timeout.
SSH_OPERATION_TIMEOUT
Fixed deadline for one protocol exchange, including worker diagnostics.
SSH_SNAPSHOT_SESSION_TIMEOUT
Fixed finite deadline for one complete Rust/Xcode snapshot build session.

Traits§

SshRunner
Runtime-neutral boundary around a complete request/response exchange.

Functions§

build_ssh_invocation
Build the only OpenSSH invocation accepted by this crate.
build_ssh_session_invocation
Build the fixed OpenSSH invocation for one framed snapshot session.