pub enum ControlledBindError {
Binding(Box<Failure>),
Interrupted {
error: EvalError,
output: Vec<Message>,
},
EvaluationFailure {
error: EvalError,
output: Vec<Message>,
},
ControlConflict {
error: HostControlConflict,
output: Vec<Message>,
},
}Expand description
A controlled binding failed, preserving startup output and run ownership.
This does not classify a resource or produce a checker verdict. The caller must match the original interruption against its own active run control.
Variants§
Binding(Box<Failure>)
The ordinary binding failure, with unchanged diagnostics and output.
Interrupted
Evaluator work returned its driver’s typed interruption.
Fields
EvaluationFailure
Fallible evaluation or optional source-proof planning failed intrinsically. Controlled binding retains the original error. The plain boxed binding API has no exception channel and uses its existing fail-closed bug wrapper.
Fields
ControlConflict
The evaluator could not admit this control registration.
Fields
§
error: HostControlConflictThe registration error; it is not resource exhaustion.
Implementations§
Trait Implementations§
Source§impl Clone for ControlledBindError
impl Clone for ControlledBindError
Source§impl Debug for ControlledBindError
impl Debug for ControlledBindError
Source§impl Display for ControlledBindError
impl Display for ControlledBindError
impl Eq for ControlledBindError
Source§impl Error for ControlledBindError
impl Error for ControlledBindError
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 ControlledBindError
impl PartialEq for ControlledBindError
impl StructuralPartialEq for ControlledBindError
Auto Trait Implementations§
impl Forget for ControlledBindError
impl Freeze for ControlledBindError
impl Move for ControlledBindError
impl RefUnwindSafe for ControlledBindError
impl Send for ControlledBindError
impl Sync for ControlledBindError
impl Unpin for ControlledBindError
impl UnsafeUnpin for ControlledBindError
impl UnwindSafe for ControlledBindError
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