Enum nvim_rs::error::DecodeError [−][src]
pub enum DecodeError {
BufferError(RmpvDecodeError),
ReaderError(Error),
InvalidMessage(InvalidMessage),
}
Expand description
Receiving a message from neovim failed
Variants
BufferError(RmpvDecodeError)
Tuple Fields
Reading from the internal buffer failed.
ReaderError(Error)
Tuple Fields
0: Error
Reading from the stream failed. This is probably unrecoverable from, but might also mean that neovim closed the stream and wants the plugin to finish. See examples/quitting.rs on how this might be caught.
InvalidMessage(InvalidMessage)
Tuple Fields
Neovim sent a message that’s not valid.