pub enum Temporal {
Invariant,
Deadline(Duration),
}Expand description
Temporal qualifier for MUST ALWAYS and MUST BY clauses.
Variants§
Invariant
Must hold across all states/inputs. Generates property-based tests.
Deadline(Duration)
Must complete within the given duration. Generates timed assertions.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Temporal
impl<'de> Deserialize<'de> for Temporal
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
Auto Trait Implementations§
impl Freeze for Temporal
impl RefUnwindSafe for Temporal
impl Send for Temporal
impl Sync for Temporal
impl Unpin for Temporal
impl UnsafeUnpin for Temporal
impl UnwindSafe for Temporal
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