(&self)
| 36 | #[doc(hidden)] |
| 37 | #[inline] |
| 38 | pub fn is_initialize_request(&self) -> bool { |
| 39 | if let Message::Request(request) = self { matches!(request.method.as_str(), "initialize") } else { false } |
| 40 | } |
| 41 | |
| 42 | pub fn method(&self) -> Option<&str> { |
| 43 | match self { |