Enum lsp2::request::Initialize
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§
§impl Debug for Initialize
impl Debug for Initialize
§impl Request for Initialize
impl Request for Initialize
type Params = InitializeParams
type Result = InitializeResult
const METHOD: &'static str = "initialize"
Auto Trait Implementations§
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