pub type AnySchedulableResponse = SchedulableResponse<Value>;
Expand description
The common response future type for language servers.
Aliased Type§
enum AnySchedulableResponse {
Ok(MaybeDone<Pin<Box<dyn Future<Output = Result<Value, ResponseError>> + Send>>>),
Err(ResponseError),
}
Variants§
Ok(MaybeDone<Pin<Box<dyn Future<Output = Result<Value, ResponseError>> + Send>>>)
Contains the success value
Err(ResponseError)
Contains the error value