Struct gluon_language_server::rpc::ServerCommand[][src]

pub struct ServerCommand<T, P>(pub T, _);

Methods

impl<T, P> ServerCommand<T, P>
[src]

Trait Implementations

impl<P, T> RpcMethodSimple for ServerCommand<T, P> where
    T: LanguageServerCommand<P>,
    <T::Future as IntoFuture>::Future: Send + 'static,
    P: for<'de> Deserialize<'de> + 'static, 
[src]

Output future

Call method

impl<T, P> RpcNotificationSimple for ServerCommand<T, P> where
    T: LanguageServerNotification<P>,
    P: for<'de> Deserialize<'de> + 'static, 
[src]

Execute notification

Auto Trait Implementations

impl<T, P> Send for ServerCommand<T, P> where
    T: Send

impl<T, P> Sync for ServerCommand<T, P> where
    T: Sync