Enum pliantdb::core::connection::QueryKey[][src]

pub enum QueryKey<K> {
    Matches(K),
    Range(Range<K>),
    Multiple(Vec<K, Global>),
}

Filters a View by key.

Variants

Matches(K)

Matches all entries with the key provided.

Range(Range<K>)

Matches all entires with keys in the range provided.

Multiple(Vec<K, Global>)

Matches all entries that have keys that are included in the set provided.

Auto Trait Implementations

impl<K> RefUnwindSafe for QueryKey<K> where
    K: RefUnwindSafe

impl<K> Send for QueryKey<K> where
    K: Send

impl<K> Sync for QueryKey<K> where
    K: Sync

impl<K> Unpin for QueryKey<K> where
    K: Unpin

impl<K> UnwindSafe for QueryKey<K> where
    K: 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> From<T> for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.