sync_ls

Type Alias LspResult

Source
pub type LspResult<T> = Result<T, ResponseError>;
Expand description

The common result type for language servers.

Aliased Type§

enum LspResult<T> {
    Ok(T),
    Err(ResponseError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ResponseError)

Contains the error value