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)
A Msgid could not be found in the request queue
Tuple Fields of MsgidNotFound
0: u64
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.
Tuple Fields of DecodeError
0: Arc<DecodeError>
1: Option<Vec<u64>>
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