[−][src]Enum nvim_rs::error::LoopError
A failure in the io loop
Variants
MsgidNotFound(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.
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
IoSpawn(SpawnError)
The io loop could not spawn a task for the handler
Implementations
impl LoopError
[src]
#[must_use]pub fn is_channel_closed(&self) -> bool
[src]
#[must_use]pub fn is_reader_error(&self) -> bool
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for LoopError
impl Send for LoopError
impl Sync for LoopError
impl Unpin for LoopError
impl !UnwindSafe for LoopError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,