pub enum HostError {
Graph(GraphError),
Store(CoreError),
NoCheckpoint(RunId),
}Expand description
Why a host call failed: a graph error (bad checkpoint, resume that does not fit), a store or queue failure, or a run with no checkpoint. A run that fails during a step is not an error: its job fails instead.
Variants§
Trait Implementations§
Source§impl Error for HostError
impl Error for HostError
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<GraphError> for HostError
impl From<GraphError> for HostError
Source§fn from(source: GraphError) -> Self
fn from(source: GraphError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for HostError
Auto Trait Implementations§
impl Forget for HostError
impl Freeze for HostError
impl Move for HostError
impl RefUnwindSafe for HostError
impl Send for HostErrorwhere
RawVecInner: Send,
impl Sync for HostErrorwhere
RawVecInner: Sync,
impl Unpin for HostError
impl UnsafeUnpin for HostError
impl UnwindSafe for HostErrorwhere
RawVecInner: UnwindSafe,
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