pub enum HandshakeError {
SendError(EncodeError),
RecvError(Error, String),
UnexpectedResponse(String),
LaunchError(Error),
}
Variants§
SendError(EncodeError)
Sending the request to neovim has failed.
Fields:
- The underlying error
RecvError(Error, String)
Sending the request to neovim has failed.
Fields:
- The underlying error
- The data read so far
UnexpectedResponse(String)
Unexpected response received
Fields:
- The data read so far
LaunchError(Error)
The launch of Neovim failed
Fields:
- The underlying error
Trait Implementations§
Source§impl Debug for HandshakeError
impl Debug for HandshakeError
Source§impl Display for HandshakeError
impl Display for HandshakeError
Source§impl Error for HandshakeError
impl Error for HandshakeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Box<EncodeError>> for Box<HandshakeError>
impl From<Box<EncodeError>> for Box<HandshakeError>
Source§fn from(v: Box<EncodeError>) -> Box<HandshakeError>
fn from(v: Box<EncodeError>) -> Box<HandshakeError>
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HandshakeError
impl !RefUnwindSafe for HandshakeError
impl Send for HandshakeError
impl Sync for HandshakeError
impl Unpin for HandshakeError
impl !UnwindSafe for HandshakeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more