sync_ls

Type Alias LspResponseFuture

Source
pub type LspResponseFuture<T> = LspResult<ResponseFuture<T>>;
Expand description

A future that may be rejected before actual started.

Aliased Type§

enum LspResponseFuture<T> {
    Ok(MaybeDone<Pin<Box<dyn Future<Output = T> + Send>>>),
    Err(ResponseError),
}

Variants§

§1.0.0

Ok(MaybeDone<Pin<Box<dyn Future<Output = T> + Send>>>)

Contains the success value

§1.0.0

Err(ResponseError)

Contains the error value