pub enum ItfValue {
Bool(bool),
BigInt {
bigint: String,
},
Unserializable {
unserializable: String,
},
}Expand description
A model value in the ITF value encoding (Apalache’s Informal Trace
Format): a boolean, an integer as {"#bigint": "[-][0-9]+"}, or
{"#unserializable": "<verbatim value>"} for any value without an ITF
form (uninterpreted sorts, Verus’s boxed values, reals and so on).
It is a rendering on top of the solver’s exact reply (charter rule 3):
the verbatim get-model reply and each verbatim value stay alongside
it.
Variants§
Bool(bool)
An SMT Bool.
BigInt
An SMT Int, or a bit vector read as an unsigned integer.
Unserializable
Anything else, verbatim.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ItfValue
impl<'de> Deserialize<'de> for ItfValue
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
impl Eq for ItfValue
impl StructuralPartialEq for ItfValue
Auto Trait Implementations§
impl Freeze for ItfValue
impl RefUnwindSafe for ItfValue
impl Send for ItfValue
impl Sync for ItfValue
impl Unpin for ItfValue
impl UnsafeUnpin for ItfValue
impl UnwindSafe for ItfValue
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