pub enum SolverError {
AssetNotDeclared(String),
AssetNotProduced(String),
AssetNotCreated(String),
AssetWrongType(String),
AssetUnbound(String),
NodeNotFound(String),
NoTerminalsDefined,
NotImplemented,
}
Expand description
Errors that may happen during a Solver instance execution
Variants§
AssetNotDeclared(String)
The asset was never declared during graph construction
AssetNotProduced(String)
A node producing such asset was not declared
AssetNotCreated(String)
The asset was never instantiated during graph execution
AssetWrongType(String)
The asset trying to retrieve is of a different type. Users of this interface meant to know the name and type of each asset.
AssetUnbound(String)
the asset in not bound, no connection can be found in the graph that satisfies this asset
NodeNotFound(String)
No node was found with this name.
NoTerminalsDefined
The current graph has no terminal nodes (no output)
NotImplemented
WIP
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SolverError
impl RefUnwindSafe for SolverError
impl Send for SolverError
impl Sync for SolverError
impl Unpin for SolverError
impl UnwindSafe for SolverError
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