[][src]Enum clepsydra::Entry

pub enum Entry<L: Lang> {
    Delayed(L::ExprVec<L::Val>, ReplicationTag),
    Settled(ExtVal<L>, ReplicationTag),
    Aborted,
}

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

Delayed(L::ExprVec<L::Val>, ReplicationTag)
Settled(ExtVal<L>, ReplicationTag)
Aborted

Trait Implementations

impl<L: Clone + Lang> Clone for Entry<L> where
    L::Expr: Clone,
    L::Val: Clone
[src]

impl<L: Debug + Lang> Debug for Entry<L> where
    L::Expr: Debug,
    L::Val: Debug
[src]

impl<'de, L: Lang> Deserialize<'de> for Entry<L>[src]

impl<L: Eq + Lang> Eq for Entry<L> where
    L::Expr: Eq,
    L::Val: Eq
[src]

impl<L: Hash + Lang> Hash for Entry<L> where
    L::Expr: Hash,
    L::Val: Hash
[src]

impl<L: Ord + Lang> Ord for Entry<L> where
    L::Expr: Ord,
    L::Val: Ord
[src]

impl<L: PartialEq + Lang> PartialEq<Entry<L>> for Entry<L> where
    L::Expr: PartialEq,
    L::Val: PartialEq
[src]

impl<L: PartialOrd + Lang> PartialOrd<Entry<L>> for Entry<L> where
    L::Expr: PartialOrd,
    L::Val: PartialOrd
[src]

impl<L: Lang> Serialize for Entry<L>[src]

impl<L: Lang> StructuralEq for Entry<L>[src]

impl<L: Lang> StructuralPartialEq for Entry<L>[src]

Auto Trait Implementations

impl<L> RefUnwindSafe for Entry<L> where
    <L as Lang>::Expr: RefUnwindSafe,
    <L as Lang>::Val: RefUnwindSafe
[src]

impl<L> Send for Entry<L> where
    <L as Lang>::Expr: Send,
    <L as Lang>::Val: Send
[src]

impl<L> Sync for Entry<L> where
    <L as Lang>::Expr: Sync,
    <L as Lang>::Val: Sync
[src]

impl<L> Unpin for Entry<L> where
    <L as Lang>::Expr: Unpin,
    <L as Lang>::Val: Unpin
[src]

impl<L> UnwindSafe for Entry<L> where
    <L as Lang>::Expr: UnwindSafe,
    <L as Lang>::Val: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Msg for T where
    T: Serialize + DeserializeOwned + Send + Sync + 'static, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithSubscriber for T[src]