pub enum Error {
ProcessError(Error),
ProtocolError(ResponseError),
NoHandle,
PollAgain,
}
Expand description
Error as returned by this module.
Variants§
ProcessError(Error)
This error is forwarded from the detached_command
module, it’s about running the engine process.
ProtocolError(ResponseError)
This is an error when parsing responses from the engine. It might indicate either a bug in this crate or the Engine.
NoHandle
Returned when no engine has been start()
ed.
PollAgain
Returned when no responses were received from the engine yet.
It means you have to call methods like poll_response()
or wait_response()
again.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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