pub enum FactsError {
NoWorkflowImport,
NoDefineCall,
EntryFunctionNotIdentifiable,
}Expand description
Errors raised while reading workflow facts from source.
Variants§
NoWorkflowImport
The entry-module source never imports aion/workflow, so it composes
none of the recognised primitives and is not a workflow the scaffold
generator understands.
NoDefineCall
No workflow.define(...) call was found, so the typed entry function the
harness must drive cannot be identified.
EntryFunctionNotIdentifiable
A workflow.define(...) call was found but its last argument is not a
bare function reference, so the typed entry function cannot be named.
Trait Implementations§
Source§impl Debug for FactsError
impl Debug for FactsError
Source§impl Display for FactsError
impl Display for FactsError
impl Eq for FactsError
Source§impl Error for FactsError
impl Error for FactsError
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 PartialEq for FactsError
impl PartialEq for FactsError
impl StructuralPartialEq for FactsError
Auto Trait Implementations§
impl Freeze for FactsError
impl RefUnwindSafe for FactsError
impl Send for FactsError
impl Sync for FactsError
impl Unpin for FactsError
impl UnsafeUnpin for FactsError
impl UnwindSafe for FactsError
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.