Enum nvim_rs::error::LoopError [−][src]
pub enum LoopError {
MsgidNotFound(u64),
DecodeError(Arc<DecodeError>, Option<Vec<u64>>),
InternalSendResponseError(u64, Result<Value, Value>),
}
Expand description
A failure in the io loop
Variants
MsgidNotFound(u64)
Tuple Fields
0: u64
A Msgid could not be found in the request queue
DecodeError(Arc<DecodeError>, Option<Vec<u64>>)
Decoding a message failed.
Fields:
- The underlying error
- The msgids of the requests we could not send the error to.
Note: DecodeError can’t be clone, so we Arc-wrap it.
InternalSendResponseError(u64, Result<Value, Value>)
Failed to send a Response (from neovim) through the sender from the request queue
Fields:
- The msgid of the request the response was sent for
- The response from neovim