pub enum ReadAccessRoute {
PrimaryKey,
PrimaryKeySet,
PrimaryKeyRange,
SecondaryIndexPrefix,
SecondaryIndexMultiLookup,
SecondaryIndexBranchSet,
SecondaryIndexRange,
FullScan,
Union,
Intersection,
}Expand description
Coarse accepted access route selected for one read.
The enum intentionally excludes entity, field, index, predicate and literal identity so an attributed query cannot create an unbounded label surface.
Variants§
PrimaryKey
One direct primary-key lookup.
PrimaryKeySet
One bounded set of direct primary-key lookups.
PrimaryKeyRange
One inclusive primary-key range.
SecondaryIndexPrefix
One accepted secondary-index prefix.
SecondaryIndexMultiLookup
One bounded secondary-index multi-lookup.
SecondaryIndexBranchSet
One bounded secondary-index branch set.
SecondaryIndexRange
One accepted secondary-index range.
FullScan
One authoritative primary-store scan.
Union
One canonical union of bounded child access routes.
Intersection
One canonical intersection of bounded child access routes.
Trait Implementations§
Source§impl CandidType for ReadAccessRoute
impl CandidType for ReadAccessRoute
Source§impl Clone for ReadAccessRoute
impl Clone for ReadAccessRoute
Source§fn clone(&self) -> ReadAccessRoute
fn clone(&self) -> ReadAccessRoute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReadAccessRoute
Source§impl Debug for ReadAccessRoute
impl Debug for ReadAccessRoute
Source§impl<'de> Deserialize<'de> for ReadAccessRoute
impl<'de> Deserialize<'de> for ReadAccessRoute
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReadAccessRoute
Source§impl PartialEq for ReadAccessRoute
impl PartialEq for ReadAccessRoute
impl StructuralPartialEq for ReadAccessRoute
Auto Trait Implementations§
impl Freeze for ReadAccessRoute
impl RefUnwindSafe for ReadAccessRoute
impl Send for ReadAccessRoute
impl Sync for ReadAccessRoute
impl Unpin for ReadAccessRoute
impl UnsafeUnpin for ReadAccessRoute
impl UnwindSafe for ReadAccessRoute
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more