pub struct LiveOutcome<T: Lerp> {
pub value: T,
pub token: u64,
pub generation: u64,
pub reason: LiveReason,
}Expand description
终态产物:commit 回调已经把 value 写入逻辑状态;generation 是该写入后的版本。
Fields§
§value: T§token: u64§generation: u64§reason: LiveReasonTrait Implementations§
impl<T: PartialEq + Lerp> StructuralPartialEq for LiveOutcome<T>
Auto Trait Implementations§
impl<T> Forget for LiveOutcome<T>
impl<T> Freeze for LiveOutcome<T>where
T: Freeze,
impl<T> Move for LiveOutcome<T>
impl<T> RefUnwindSafe for LiveOutcome<T>where
T: RefUnwindSafe,
impl<T> Send for LiveOutcome<T>where
T: Send,
impl<T> Sync for LiveOutcome<T>where
T: Sync,
impl<T> Unpin for LiveOutcome<T>where
T: Unpin,
impl<T> UnsafeUnpin for LiveOutcome<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for LiveOutcome<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