Struct distant_core::RemoteLspProcess [−][src]
pub struct RemoteLspProcess {
pub stdin: Option<RemoteLspStdin>,
pub stdout: Option<RemoteLspStdout>,
pub stderr: Option<RemoteLspStderr>,
// some fields omitted
}Expand description
Represents an LSP server process on a remote machine
Fields
stdin: Option<RemoteLspStdin>stdout: Option<RemoteLspStdout>stderr: Option<RemoteLspStderr>Implementations
Spawns the specified process on the remote machine using the given session, treating the process like an LSP server
Methods from Deref<Target = RemoteProcess>
Checks if the process has completed, returning the exit status if it has, without
consuming the process itself. Note that this does not include join errors that can
occur when aborting and instead converts any error to a status of false. To acquire
the actual error, you must call wait
Aborts the process by forcing its response task to shutdown, which means that a call
to wait will return an error. Note that this does not send a kill request, so if
you want to be nice you should send the request before aborting.
Submits a kill request for the running process
Trait Implementations
type Target = RemoteProcess
type Target = RemoteProcess
The resulting type after dereferencing.