Trait arret_lsp_server::handler::SyncNotificationHandler [−][src]
pub trait SyncNotificationHandler {
type Notification: LspNotification;
fn handle(
state: &mut State,
params: <Self::Notification as LspNotification>::Params
);
}Trait for handling notifications
Associated Types
type Notification: LspNotification[src]
Required methods
fn handle(
state: &mut State,
params: <Self::Notification as LspNotification>::Params
)[src]
state: &mut State,
params: <Self::Notification as LspNotification>::Params
)
Implementors
impl SyncNotificationHandler for DidChangeTextDocumentHandler[src]
impl SyncNotificationHandler for DidChangeTextDocumentHandler[src]type Notification = DidChangeTextDocument
fn handle(state: &mut State, params: DidChangeTextDocumentParams)[src]
impl SyncNotificationHandler for DidCloseTextDocumentHandler[src]
impl SyncNotificationHandler for DidCloseTextDocumentHandler[src]type Notification = DidCloseTextDocument
fn handle(state: &mut State, params: DidCloseTextDocumentParams)[src]
impl SyncNotificationHandler for DidOpenTextDocumentHandler[src]
impl SyncNotificationHandler for DidOpenTextDocumentHandler[src]type Notification = DidOpenTextDocument
fn handle(state: &mut State, params: DidOpenTextDocumentParams)[src]
impl SyncNotificationHandler for DidChangeWorkspaceFoldersHandler[src]
impl SyncNotificationHandler for DidChangeWorkspaceFoldersHandler[src]