Skip to main content

LspResult

Type Alias LspResult 

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

Convenience alias so the rest of the crate doesn’t have to re-spell Result<T, LspError> everywhere.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(LspError)

Contains the error value