[][src]Struct holochain_persistence_api::cas::storage::EavTestSuite

pub struct EavTestSuite;

Methods

impl EavTestSuite[src]

pub fn test_round_trip<A: Attribute>(
    eav_storage: impl EntityAttributeValueStorage<A> + Clone,
    entity_content: impl AddressableContent,
    attribute: A,
    value_content: impl AddressableContent
)
[src]

pub fn test_one_to_many<A, AT: Attribute, S>(eav_storage: S, attribute: &AT) where
    A: AddressableContent + Clone,
    S: EntityAttributeValueStorage<AT>, 
[src]

pub fn test_range<A, AT: Attribute, S>(eav_storage: S, attribute: &AT) where
    A: AddressableContent + Clone,
    S: EntityAttributeValueStorage<AT>, 
[src]

pub fn test_multiple_attributes<A, AT: Attribute, S>(
    eav_storage: S,
    attributes: Vec<AT>
) where
    A: AddressableContent + Clone,
    S: EntityAttributeValueStorage<AT>, 
[src]

pub fn test_many_to_one<A, AT: Attribute, S>(eav_storage: S, attribute: &AT) where
    A: AddressableContent + Clone,
    S: EntityAttributeValueStorage<AT>, 
[src]

pub fn test_tombstone<A, S>(eav_storage: S) where
    A: AddressableContent + Clone,
    S: EntityAttributeValueStorage<ExampleLink>, 
[src]

Auto Trait Implementations

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> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,