Enum languageserver_types::notification::Cancel[][src]

pub enum Cancel {}

The base protocol now offers support for request cancellation. To cancel a request, a notification message with the following properties is sent:

A request that got canceled still needs to return from the server and send a response back. It can not be left open / hanging. This is in line with the JSON RPC protocol that requires that every request sends a response back. In addition it allows for returning partial results on cancel.

Trait Implementations

impl Debug for Cancel
[src]

Formats the value using the given formatter. Read more

impl Notification for Cancel
[src]

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

Auto Trait Implementations

impl Send for Cancel

impl Sync for Cancel