/
githubmirror
/
lapce
Обзор
Документация
Войти
/
githubmirror
/
lapce
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
lapce-rpc/src/lib.rs
33 строки
655 B
ifengqi
Add the 'references_resolve' method to the proxy. (#3507)
16 сен 2024, 12:52
Не верифицирован
16 сен 2024, 12:52
e69729e
Код
Авторство
О чём код?
#![allow(clippy::manual_clamp)] pub mod buffer; pub mod core; pub mod counter; pub mod dap_types; pub mod file; pub mod file_line; mod parse; pub mod plugin; pub mod proxy; pub mod source_control; pub mod stdio; pub mod style; pub mod terminal; pub use parse::{Call, RequestId, RpcObject}; use serde::{Deserialize, Serialize}; pub use stdio::stdio_transport; #[derive(Debug)] pub enum RpcMessage<Req, Notif, Resp> { Request(RequestId, Req), Response(RequestId, Resp), Notification(Notif), Error(RequestId, RpcError), } #[derive(Debug, Clone, Serialize, Deserialize)] pub struct RpcError { pub code: i64, pub message: String, }