pub enum CallableExecutedError {
SerializationFailed(String),
DeserializationFailed(String),
ChildPipeWriteFailed(Option<Error>),
}
Expand description
An error indicating something went wrong after the user-supplied callable was executed
You should only retry the callable if it is idempotent.
Variants§
SerializationFailed(String)
An error occurred while serializing the result of the callable inside the child process
DeserializationFailed(String)
An error occurred while deserializing the result of the callable in the parent process
ChildPipeWriteFailed(Option<Error>)
A system error occurred while writing the child process’s result to the pipe.
Trait Implementations§
Source§impl Debug for CallableExecutedError
impl Debug for CallableExecutedError
Source§impl<'de> Deserialize<'de> for CallableExecutedError
impl<'de> Deserialize<'de> for CallableExecutedError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CallableExecutedError
impl Display for CallableExecutedError
Source§impl Error for CallableExecutedError
impl Error for CallableExecutedError
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()
Auto Trait Implementations§
impl Freeze for CallableExecutedError
impl !RefUnwindSafe for CallableExecutedError
impl Send for CallableExecutedError
impl Sync for CallableExecutedError
impl Unpin for CallableExecutedError
impl !UnwindSafe for CallableExecutedError
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