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

Waits for the process to terminate, returning the success status and an optional exit code

Methods from Deref<Target = RemoteProcess>

Returns the id of the running process

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

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.