pub enum StartError {
UnsupportedDatamodel {
name: String,
},
DatamodelMismatch {
chart: String,
given: String,
},
Datamodel(EvalError),
ChartRefused {
datamodel: String,
problems: Vec<String>,
},
BudgetExceeded {
budget: u32,
partial: Box<Outcome>,
},
}Expand description
Why a session could not start.
Variants§
UnsupportedDatamodel
The chart names a datamodel the host did not register.
DatamodelMismatch
The datamodel passed in is not the one the chart names.
Datamodel(EvalError)
The datamodel refused to initialize the session.
ChartRefused
The datamodel refused to instantiate the chart, with every problem it found (a statically checked datamodel refuses a chart with type errors).
Fields
BudgetExceeded
The start macrostep did not stabilize within the microstep budget.
Trait Implementations§
Source§impl Clone for StartError
impl Clone for StartError
Source§impl Debug for StartError
impl Debug for StartError
Source§impl PartialEq for StartError
impl PartialEq for StartError
impl StructuralPartialEq for StartError
Auto Trait Implementations§
impl Forget for StartError
impl Freeze for StartError
impl Move for StartError
impl RefUnwindSafe for StartError
impl Send for StartError
impl Sync for StartError
impl Unpin for StartError
impl UnsafeUnpin for StartError
impl UnwindSafe for StartError
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