Enum kailua_langsvr::Target [] [src]

pub enum Target {
    Stdio,
    TCP(SocketAddr),
}

The connection target of the language server.

In any case the stderr remains unused, so it is reserved for debugging outputs.

Variants

Communicate via stdin/stdout.

The caller should not write anything to them when using this target.

Communicate via a specified TCP socket.