pub enum InferenceStatus {
Created,
Started,
ProcessedInputs,
GeneratedContextStatic,
GeneratedContextDynamic,
EvaluatedStatic(String),
EvaluatedAllStatic,
EvaluatedDynamic(String),
EvaluatedAllDynamic,
DetectedUnsat,
FinishedSuccessfully,
Error,
}
Expand description
Status of the inference computation.
Variants§
Created
Inference solver instance is created.
Started
The inference computation is started.
ProcessedInputs
Sketch input is processed (BN object created, …).
GeneratedContextStatic
Symbolic context and graph for static props is created.
GeneratedContextDynamic
Symbolic context and graph for dynamic props is created.
EvaluatedStatic(String)
Static property is evaluated (can happen multiple times).
EvaluatedAllStatic
All static properties are evaluated.
EvaluatedDynamic(String)
Static property is evaluated (can happen multiple times).
EvaluatedAllDynamic
All dynamic properties are evaluated.
DetectedUnsat
Detected that sketch is unsatisfiable (can happen at the end or during computation).
FinishedSuccessfully
Computation is successfully finished.
Error
Computation is finished but unsuccessful (cancellation or processing error).
Trait Implementations§
source§impl Clone for InferenceStatus
impl Clone for InferenceStatus
source§fn clone(&self) -> InferenceStatus
fn clone(&self) -> InferenceStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InferenceStatus
impl Debug for InferenceStatus
source§impl<'de> Deserialize<'de> for InferenceStatus
impl<'de> Deserialize<'de> for InferenceStatus
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for InferenceStatus
impl PartialEq for InferenceStatus
source§impl Serialize for InferenceStatus
impl Serialize for InferenceStatus
impl Eq for InferenceStatus
impl StructuralPartialEq for InferenceStatus
Auto Trait Implementations§
impl Freeze for InferenceStatus
impl RefUnwindSafe for InferenceStatus
impl Send for InferenceStatus
impl Sync for InferenceStatus
impl Unpin for InferenceStatus
impl UnwindSafe for InferenceStatus
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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.