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

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

Filters a View by key.



Matches all entries with the key provided.


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.


impl<K> QueryKey<K> where
    K: Key

pub fn serialized(&self) -> Result<QueryKey<Vec<u8, Global>>, Error>[src]

Converts this key to a serialized format using the Key trait.

impl QueryKey<Vec<u8, Global>>[src]

pub fn deserialized<K>(&self) -> Result<QueryKey<K>, Error> where
    K: Key

Deserializes the bytes into K via the Key trait.

Trait Implementations

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

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

impl<'de, K> Deserialize<'de> for QueryKey<K> where
    K: Deserialize<'de>, 

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

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Conv for T

impl<T> Conv for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

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> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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