Enum nvim_rs::rpc::model::RpcMessage [−][src]
pub enum RpcMessage {
RpcRequest {
msgid: u64,
method: String,
params: Vec<Value>,
},
RpcResponse {
msgid: u64,
error: Value,
result: Value,
},
RpcNotification {
method: String,
params: Vec<Value>,
},
}
Expand description
A msgpack-rpc message, see https://github.com/msgpack-rpc/msgpack-rpc/blob/master/spec.md
Variants
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RpcMessage
impl Send for RpcMessage
impl Sync for RpcMessage
impl Unpin for RpcMessage
impl UnwindSafe for RpcMessage
Blanket Implementations
Mutably borrows from an owned value. Read more