[][src]Struct crdts::lseq::ident::Identifier

pub struct Identifier<A: Actor> { /* fields omitted */ }

A tree identifier uniquely locates an element in an LSeq tree. It represents the path that needs to be taken in order to reach the element. At each level we store the index of the child tree node as well as the id of the site that inserted that node. This resolves conflicts where two sites decide to pick the same child index to allocate a fresh node

Trait Implementations

impl<A: Arbitrary + Actor> Arbitrary for Identifier<A>[src]

impl<A: Clone + Actor> Clone for Identifier<A>[src]

impl<A: Debug + Actor> Debug for Identifier<A>[src]

impl<'de, A: Actor> Deserialize<'de> for Identifier<A> where
    A: Deserialize<'de>, 
[src]

impl<A: Eq + Actor> Eq for Identifier<A>[src]

impl<A: Hash + Actor> Hash for Identifier<A>[src]

impl<A: Ord + Actor> Ord for Identifier<A>[src]

impl<A: PartialEq + Actor> PartialEq<Identifier<A>> for Identifier<A>[src]

impl<A: PartialOrd + Actor> PartialOrd<Identifier<A>> for Identifier<A>[src]

impl<A: Actor> Serialize for Identifier<A> where
    A: Serialize
[src]

impl<A: Actor> StructuralEq for Identifier<A>[src]

impl<A: Actor> StructuralPartialEq for Identifier<A>[src]

Auto Trait Implementations

impl<A> RefUnwindSafe for Identifier<A> where
    A: RefUnwindSafe

impl<A> Send for Identifier<A> where
    A: Send

impl<A> Sync for Identifier<A> where
    A: Sync

impl<A> Unpin for Identifier<A> where
    A: Unpin

impl<A> UnwindSafe for Identifier<A> where
    A: 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> Member for T where
    T: Clone + Eq + Hash
[src]

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