Trait gluon_language_server::rpc::LanguageServerCommand[][src]

pub trait LanguageServerCommand<P>: Send + Sync + 'static where
    Self::Future: Send + 'static, 
{ type Future: IntoFuture<Item = Self::Output, Error = ServerError<Self::Error>> + Send + 'static; type Output: Serialize; type Error: Serialize; fn execute(&self, param: P) -> Self::Future; fn invalid_params(&self) -> Option<Self::Error> { ... } }

Associated Types

Required Methods

Provided Methods

Implementors