pub struct AsyncUpdateAssertion { /* private fields */ }Expand description
Assertion helper for async data updates. This is the CRITICAL test that defines interface requirements.
Implementations§
Source§impl AsyncUpdateAssertion
impl AsyncUpdateAssertion
Sourcepub fn record_initial(&mut self, value: &str)
pub fn record_initial(&mut self, value: &str)
Record initial value.
Sourcepub fn record_update(&mut self, value: &str)
pub fn record_update(&mut self, value: &str)
Record updated value.
Sourcepub fn assert_present(&self)
pub fn assert_present(&self)
Sourcepub fn assert_changed(&self)
pub fn assert_changed(&self)
Sourcepub fn assert_numeric_in_range(&self, min: f64, max: f64)
pub fn assert_numeric_in_range(&self, min: f64, max: f64)
Assert that value is numeric and within range.
§Panics
Panics if value is not numeric or out of range.
Auto Trait Implementations§
impl Freeze for AsyncUpdateAssertion
impl RefUnwindSafe for AsyncUpdateAssertion
impl Send for AsyncUpdateAssertion
impl Sync for AsyncUpdateAssertion
impl Unpin for AsyncUpdateAssertion
impl UnwindSafe for AsyncUpdateAssertion
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more