pub enum IsolationError {
Io(Error),
Serialization(Error),
Plugin(String),
Crashed(String),
NotRunning,
UnexpectedResponse,
}Expand description
Errors that can occur during process isolation
Variants§
Io(Error)
IO error
Serialization(Error)
Serialization error
Plugin(String)
Plugin error
Crashed(String)
Plugin crashed
NotRunning
Helper process not running
UnexpectedResponse
Unexpected response
Trait Implementations§
Source§impl Debug for IsolationError
impl Debug for IsolationError
Source§impl Display for IsolationError
impl Display for IsolationError
Source§impl Error for IsolationError
impl Error for IsolationError
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<Error> for IsolationError
impl From<Error> for IsolationError
Auto Trait Implementations§
impl !RefUnwindSafe for IsolationError
impl !UnwindSafe for IsolationError
impl Freeze for IsolationError
impl Send for IsolationError
impl Sync for IsolationError
impl Unpin for IsolationError
impl UnsafeUnpin for IsolationError
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