pub struct Written<T> {
pub value: T,
pub replayed: bool,
}Expand description
The outcome of a write, and whether it only answered a repeat of an earlier one.
Fields§
§value: TWhat the store recorded.
replayed: booltrue when the identity was already recorded with the same content and nothing was
written.
Trait Implementations§
impl<T: PartialEq> StructuralPartialEq for Written<T>
Auto Trait Implementations§
impl<T> Freeze for Written<T>where
T: Freeze,
impl<T> RefUnwindSafe for Written<T>where
T: RefUnwindSafe,
impl<T> Send for Written<T>where
T: Send,
impl<T> Sync for Written<T>where
T: Sync,
impl<T> Unpin for Written<T>where
T: Unpin,
impl<T> UnsafeUnpin for Written<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Written<T>where
T: UnwindSafe,
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