Enum lsp_types::request::Initialize
source · pub enum Initialize {}
Expand description
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§
source§impl Debug for Initialize
impl Debug for Initialize
source§impl Request for Initialize
impl Request for Initialize
type Params = InitializeParams
type Result = InitializeResult
const METHOD: &'static str = "initialize"
Auto Trait Implementations§
impl Freeze for Initialize
impl RefUnwindSafe for Initialize
impl Send for Initialize
impl Sync for Initialize
impl Unpin for Initialize
impl UnwindSafe for Initialize
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more