Enum languageserver_types::request::Initialize [−][src]
pub enum Initialize {}
The initialize request is sent as the first request from the client to the server.
If the server receives request or notification before the initialize
request it should act as follows:
- for a request the respond should be errored with
code: -32001
. The message can be picked by the server. - notifications should be dropped.
Trait Implementations
impl Debug for Initialize
[src]
impl Debug for Initialize
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Request for Initialize
[src]
impl Request for Initialize
type Params = InitializeParams
type Result = InitializeResult
const METHOD: &'static str
METHOD: &'static str = "initialize"
Auto Trait Implementations
impl Send for Initialize
impl Send for Initialize
impl Sync for Initialize
impl Sync for Initialize