pub enum Entry<L: Lang> {
Delayed(L::Expr, Vec<L::Val>, ReplicationTag),
Settled(ExtVal<L>, ReplicationTag),
Aborted,
}Expand description
An Entry is associated with each KeyVer (i.e. a Lang::Key at some GlobalTime) in the Store, and is either an unevaluated expression of type Entry::Delayed (at one of two possible ReplicationTag levels), or an Entry::Aborted tombstone (if replication fails), or an Entry::Settled value carrying a fully-evaluated ExtVal.
Variants§
Trait Implementations§
Source§impl<'de, L: Lang> Deserialize<'de> for Entry<L>
impl<'de, L: Lang> Deserialize<'de> for Entry<L>
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
Source§impl<L: Ord + Lang> Ord for Entry<L>
impl<L: Ord + Lang> Ord for Entry<L>
Source§impl<L: PartialOrd + Lang> PartialOrd for Entry<L>
impl<L: PartialOrd + Lang> PartialOrd for Entry<L>
impl<L: Eq + Lang> Eq for Entry<L>
impl<L: Lang> StructuralPartialEq for Entry<L>
Auto Trait Implementations§
impl<L> Freeze for Entry<L>
impl<L> RefUnwindSafe for Entry<L>
impl<L> Send for Entry<L>
impl<L> Sync for Entry<L>
impl<L> Unpin for Entry<L>
impl<L> UnsafeUnpin for Entry<L>
impl<L> UnwindSafe for Entry<L>
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