pub enum ExecError<K, E> {
Build(BuildError<K>),
Cycle {
remaining: Vec<K>,
},
TaskFailed {
task: K,
error: E,
},
OutputMissing(K),
InternalInvariant(&'static str),
}Variants§
Trait Implementations§
Source§impl<K: Debug, E: Debug> Error for ExecError<K, E>
impl<K: Debug, E: Debug> Error for ExecError<K, E>
1.30.0 · 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<K, E> From<BuildError<K>> for ExecError<K, E>
impl<K, E> From<BuildError<K>> for ExecError<K, E>
Source§fn from(e: BuildError<K>) -> Self
fn from(e: BuildError<K>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<K, E> Freeze for ExecError<K, E>
impl<K, E> RefUnwindSafe for ExecError<K, E>where
K: RefUnwindSafe,
E: RefUnwindSafe,
impl<K, E> Send for ExecError<K, E>
impl<K, E> Sync for ExecError<K, E>
impl<K, E> Unpin for ExecError<K, E>
impl<K, E> UnsafeUnpin for ExecError<K, E>where
K: UnsafeUnpin,
E: UnsafeUnpin,
impl<K, E> UnwindSafe for ExecError<K, E>where
K: UnwindSafe,
E: 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