#[non_exhaustive]pub enum Write {
Set(OwnedDataValue),
Blocked(OwnedDataValue),
Removed,
}Expand description
One write a call made, at the path it named: what
testing::Called::writes lists, in the
order the call made them.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Set(OwnedDataValue)
A value written, which the call’s own context took: the call reads it there from then on.
Blocked(OwnedDataValue)
A value written where the call’s own context could not take it, below
a scalar. It changes nothing the call reads, and the settle still
replays it at its path, since the message may take it by then, as v3
replays every Change.
Removed
A value the call saw, removed.
Trait Implementations§
impl StructuralPartialEq for Write
Auto Trait Implementations§
impl Freeze for Write
impl RefUnwindSafe for Write
impl Send for Write
impl Sync for Write
impl Unpin for Write
impl UnsafeUnpin for Write
impl UnwindSafe for Write
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