[][src]Struct clepsydra::KeyVer

pub struct KeyVer<L: Lang> {
    pub key: L::Key,
    pub ver: GlobalTime,
}

A KeyVer is a Lang::Key augmented with a GlobalTime. All reads and writes -- both inside the distributed protocol and against the Store -- happen in terms of KeyVers.

Fields

key: L::Keyver: GlobalTime

Trait Implementations

impl<L: Clone + Lang> Clone for KeyVer<L> where
    L::Key: Clone
[src]

impl<L: Lang> Debug for KeyVer<L>[src]

impl<L: Default + Lang> Default for KeyVer<L> where
    L::Key: Default
[src]

impl<'de, L: Lang> Deserialize<'de> for KeyVer<L> where
    L::Key: Deserialize<'de>, 
[src]

impl<L: Eq + Lang> Eq for KeyVer<L> where
    L::Key: Eq
[src]

impl<L: Hash + Lang> Hash for KeyVer<L> where
    L::Key: Hash
[src]

impl<L: Ord + Lang> Ord for KeyVer<L> where
    L::Key: Ord
[src]

impl<L: PartialEq + Lang> PartialEq<KeyVer<L>> for KeyVer<L> where
    L::Key: PartialEq
[src]

impl<L: PartialOrd + Lang> PartialOrd<KeyVer<L>> for KeyVer<L> where
    L::Key: PartialOrd
[src]

impl<L: Lang> Serialize for KeyVer<L> where
    L::Key: Serialize
[src]

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

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

Auto Trait Implementations

impl<L> RefUnwindSafe for KeyVer<L> where
    <L as Lang>::Key: RefUnwindSafe
[src]

impl<L> Send for KeyVer<L> where
    <L as Lang>::Key: Send
[src]

impl<L> Sync for KeyVer<L> where
    <L as Lang>::Key: Sync
[src]

impl<L> Unpin for KeyVer<L> where
    <L as Lang>::Key: Unpin
[src]

impl<L> UnwindSafe for KeyVer<L> where
    <L as Lang>::Key: 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> DefTraits for T where
    T: Clone + Ord + Default + Debug + Hash + DeserializeOwned + Serialize
[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> ValTraits for T where
    T: Clone + Eq + Default + Debug + Hash + DeserializeOwned + Serialize
[src]

impl<T> WithSubscriber for T[src]