Trait lsp_types::notification::Notification

source ·
pub trait Notification {
    type Params: DeserializeOwned + Serialize + Send + Sync + 'static;

    const METHOD: &'static str;
}

Required Associated Types§

Required Associated Constants§

source

const METHOD: &'static str

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Notification for Cancel

§

type Params = CancelParams

source§

const METHOD: &'static str = "$/cancelRequest"

source§

impl Notification for DidChangeConfiguration

§

type Params = DidChangeConfigurationParams

source§

const METHOD: &'static str = "workspace/didChangeConfiguration"

source§

impl Notification for DidChangeNotebookDocument

§

type Params = DidChangeNotebookDocumentParams

source§

const METHOD: &'static str = "notebookDocument/didChange"

source§

impl Notification for DidChangeTextDocument

§

type Params = DidChangeTextDocumentParams

source§

const METHOD: &'static str = "textDocument/didChange"

source§

impl Notification for DidChangeWatchedFiles

§

type Params = DidChangeWatchedFilesParams

source§

const METHOD: &'static str = "workspace/didChangeWatchedFiles"

source§

impl Notification for DidChangeWorkspaceFolders

§

type Params = DidChangeWorkspaceFoldersParams

source§

const METHOD: &'static str = "workspace/didChangeWorkspaceFolders"

source§

impl Notification for DidCloseNotebookDocument

§

type Params = DidCloseNotebookDocumentParams

source§

const METHOD: &'static str = "notebookDocument/didClose"

source§

impl Notification for DidCloseTextDocument

§

type Params = DidCloseTextDocumentParams

source§

const METHOD: &'static str = "textDocument/didClose"

source§

impl Notification for DidCreateFiles

§

type Params = CreateFilesParams

source§

const METHOD: &'static str = "workspace/didCreateFiles"

source§

impl Notification for DidDeleteFiles

§

type Params = DeleteFilesParams

source§

const METHOD: &'static str = "workspace/didDeleteFiles"

source§

impl Notification for DidOpenNotebookDocument

§

type Params = DidOpenNotebookDocumentParams

source§

const METHOD: &'static str = "notebookDocument/didOpen"

source§

impl Notification for DidOpenTextDocument

§

type Params = DidOpenTextDocumentParams

source§

const METHOD: &'static str = "textDocument/didOpen"

source§

impl Notification for DidRenameFiles

§

type Params = RenameFilesParams

source§

const METHOD: &'static str = "workspace/didRenameFiles"

source§

impl Notification for DidSaveNotebookDocument

§

type Params = DidSaveNotebookDocumentParams

source§

const METHOD: &'static str = "notebookDocument/didSave"

source§

impl Notification for DidSaveTextDocument

§

type Params = DidSaveTextDocumentParams

source§

const METHOD: &'static str = "textDocument/didSave"

source§

impl Notification for Exit

§

type Params = ()

source§

const METHOD: &'static str = "exit"

source§

impl Notification for Initialized

§

type Params = InitializedParams

source§

const METHOD: &'static str = "initialized"

source§

impl Notification for LogMessage

§

type Params = LogMessageParams

source§

const METHOD: &'static str = "window/logMessage"

source§

impl Notification for LogTrace

§

type Params = LogTraceParams

source§

const METHOD: &'static str = "$/logTrace"

source§

impl Notification for Progress

§

type Params = ProgressParams

source§

const METHOD: &'static str = "$/progress"

source§

impl Notification for PublishDiagnostics

§

type Params = PublishDiagnosticsParams

source§

const METHOD: &'static str = "textDocument/publishDiagnostics"

source§

impl Notification for SetTrace

§

type Params = SetTraceParams

source§

const METHOD: &'static str = "$/setTrace"

source§

impl Notification for ShowMessage

§

type Params = ShowMessageParams

source§

const METHOD: &'static str = "window/showMessage"

source§

impl Notification for TelemetryEvent

§

type Params = OneOf<Map<String, Value>, Vec<Value>>

source§

const METHOD: &'static str = "telemetry/event"

source§

impl Notification for WillSaveTextDocument

§

type Params = WillSaveTextDocumentParams

source§

const METHOD: &'static str = "textDocument/willSave"

source§

impl Notification for WorkDoneProgressCancel

§

type Params = WorkDoneProgressCancelParams

source§

const METHOD: &'static str = "window/workDoneProgress/cancel"