Struct pliantdb::local::core::connection::View [−][src]
Parameters to query a schema::View
.
Fields
key: Option<QueryKey<<V as View>::MapKey>>
Key filtering criteria.
Implementations
impl<'a, Cn, V> View<'a, Cn, V> where
V: View,
Cn: Connection<'a>,
[src]
V: View,
Cn: Connection<'a>,
#[must_use]pub fn with_key(self, key: <V as View>::MapKey) -> View<'a, Cn, V>
[src]
Filters for entries in the view with key
.
#[must_use]pub fn with_keys(
self,
keys: Vec<<V as View>::MapKey, Global>
) -> View<'a, Cn, V>
[src]
self,
keys: Vec<<V as View>::MapKey, Global>
) -> View<'a, Cn, V>
Filters for entries in the view with keys
.
#[must_use]pub fn with_key_range(
self,
range: Range<<V as View>::MapKey>
) -> View<'a, Cn, V>
[src]
self,
range: Range<<V as View>::MapKey>
) -> View<'a, Cn, V>
Filters for entries in the view with keys
.
pub async fn query(self) -> Result<Vec<Serialized, Global>, Error>
[src]
Executes the query and retrieves the results.
Auto Trait Implementations
impl<'a, Cn, V> RefUnwindSafe for View<'a, Cn, V> where
Cn: RefUnwindSafe,
<V as View>::MapKey: RefUnwindSafe,
Cn: RefUnwindSafe,
<V as View>::MapKey: RefUnwindSafe,
impl<'a, Cn, V> Send for View<'a, Cn, V> where
Cn: Sync,
Cn: Sync,
impl<'a, Cn, V> Sync for View<'a, Cn, V> where
Cn: Sync,
Cn: Sync,
impl<'a, Cn, V> Unpin for View<'a, Cn, V> where
<V as View>::MapKey: Unpin,
<V as View>::MapKey: Unpin,
impl<'a, Cn, V> UnwindSafe for View<'a, Cn, V> where
Cn: RefUnwindSafe,
<V as View>::MapKey: UnwindSafe,
Cn: RefUnwindSafe,
<V as View>::MapKey: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,