[][src]Struct crdts::vvwe::CausalityBarrier

pub struct CausalityBarrier<A: Actor, T: CausalOp<A>> {
    pub buffer: HashMap<Dot<A>, T>,
    // some fields omitted
}

Version Vector with Exceptions

Fields

buffer: HashMap<Dot<A>, T>

Implementations

impl<A: Actor, T: CausalOp<A>> CausalityBarrier<A, T>[src]

pub fn new() -> Self[src]

pub fn ingest(&mut self, op: T) -> Option<T>[src]

pub fn expel(&mut self, op: T) -> T[src]

pub fn diff_from(
    &self,
    other: &HashMap<A, VectorEntry>
) -> HashMap<A, HashSet<u64>>
[src]

pub fn vvwe(&self) -> HashMap<A, VectorEntry>[src]

Trait Implementations

impl<A: Debug + Actor, T: Debug + CausalOp<A>> Debug for CausalityBarrier<A, T>[src]

impl<A: Actor, T: CausalOp<A>> Default for CausalityBarrier<A, T>[src]

impl<'de, A: Actor, T: CausalOp<A>> Deserialize<'de> for CausalityBarrier<A, T> where
    A: Deserialize<'de>,
    T: Deserialize<'de>, 
[src]

impl<A: Actor, T: CausalOp<A>> Serialize for CausalityBarrier<A, T> where
    A: Serialize,
    T: Serialize
[src]

Auto Trait Implementations

impl<A, T> RefUnwindSafe for CausalityBarrier<A, T> where
    A: RefUnwindSafe,
    T: RefUnwindSafe

impl<A, T> Send for CausalityBarrier<A, T> where
    A: Send,
    T: Send

impl<A, T> Sync for CausalityBarrier<A, T> where
    A: Sync,
    T: Sync

impl<A, T> Unpin for CausalityBarrier<A, T> where
    A: Unpin,
    T: Unpin

impl<A, T> UnwindSafe for CausalityBarrier<A, T> where
    A: UnwindSafe,
    T: UnwindSafe

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, U> Into<U> for T where
    U: From<T>, 
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>,