pub async fn read_client_settings<R: AsyncReadExt + Unpin>(
    r: &mut R,
    client_version: ProtocolVersion,
) -> Result<ClientSettings>
Expand description

Reads the client settings from the wire.

Note: this function only reads the settings. It does not manage the log state with the daemon. You’ll have to do that on your own. A minimal log implementation will consist in sending back STDERR_LAST to the client after reading the client settings.

FUTUREWORK: write serialization.