pub struct Single;Trait Implementations§
Source§impl<A: Alignment, V: BareValueDomain> AlignableArity<Bare<V>, A> for Single
impl<A: Alignment, V: BareValueDomain> AlignableArity<Bare<V>, A> for Single
Source§impl Arity for Single
impl Arity for Single
type AfterDrop = Single
type AfterOrderedExpansion = Multiple<Ordered>
type AfterUnorderedExpansion = Multiple<Unordered>
type Container<'a, X: 'a> = Option<X>
fn map_elements<'a, X: 'a, Y: 'a>( container: Self::Container<'a, X>, function: impl Fn(X) -> Y + 'a, ) -> Self::Container<'a, Y>
fn filter_map_elements<'a, X: 'a, Y: 'a>( container: Self::Container<'a, X>, function: impl Fn(X) -> Option<Y> + 'a, ) -> <Self::AfterDrop as Arity>::Container<'a, Y>
fn flat_map_ordered_elements<'a, X: 'a, Y: 'a>( container: Self::Container<'a, X>, function: impl Fn(X) -> Vec<Y> + 'a, ) -> <Self::AfterOrderedExpansion as Arity>::Container<'a, Y>
fn flat_map_unordered_elements<'a, X: 'a, Y: 'a>( container: Self::Container<'a, X>, function: impl Fn(X) -> Vec<Y> + 'a, ) -> <Self::AfterUnorderedExpansion as Arity>::Container<'a, Y>
Source§impl<V: BareValueDomain> BucketFailureArity<Bare<V>> for Single
impl<V: BareValueDomain> BucketFailureArity<Bare<V>> for Single
fn bucket_failure<'payload, 'a>(
payload: &'payload QueryResult<Self::Container<'a, <Bare<V> as ElementShape>::Element<'a>>>,
) -> Option<&'payload Failure>where
Bare<V>: 'a,
Source§impl<I: IndexDomain, V: ValueDomain> BucketFailureArity<Indexed<I, V>> for Single
impl<I: IndexDomain, V: ValueDomain> BucketFailureArity<Indexed<I, V>> for Single
fn bucket_failure<'payload, 'a>(
payload: &'payload QueryResult<Self::Container<'a, <Indexed<I, V> as ElementShape>::Element<'a>>>,
) -> Option<&'payload Failure>where
Indexed<I, V>: 'a,
Source§impl<S: CacheableShape> CacheableArity<S> for Single
impl<S: CacheableShape> CacheableArity<S> for Single
type Cached = Option<<S as CacheableShape>::CachedElement>
fn into_cached<'a>(values: Self::Container<'a, S::Element<'a>>) -> Self::Cached
fn from_cached(cached: &Self::Cached) -> Self::Container<'_, S::Element<'_>>
Source§impl<I: IndexDomain, V: ValueDomain> EnumerableArity<Indexed<I, V>, I> for Single
impl<I: IndexDomain, V: ValueDomain> EnumerableArity<Indexed<I, V>, I> for Single
Source§impl<E: EntityDomain> LaneKernel<Bare<EntityReference<E>>, Single> for SelectOperation
impl<E: EntityDomain> LaneKernel<Bare<EntityReference<E>>, Single> for SelectOperation
type Output = OperandHandle<Indexed<E, Unit>, Single>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: BareStream<'a, EntityReference<E>, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<V: BareValueDomain> LaneKernel<Bare<V>, Single> for CountOperation
impl<V: BareValueDomain> LaneKernel<Bare<V>, Single> for CountOperation
type Output = OperandHandle<Bare<Scalar>, Definite>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: BareStream<'a, V, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, _input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<V: BareValueDomain> LaneKernel<Bare<V>, Single> for Raise
impl<V: BareValueDomain> LaneKernel<Bare<V>, Single> for Raise
type Output = OperandHandle<Bare<V>, Single>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: BareStream<'a, V, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<V, C> LaneKernel<Bare<V>, Single> for RaiseWhen<C>
impl<V, C> LaneKernel<Bare<V>, Single> for RaiseWhen<C>
type Output = OperandHandle<Bare<V>, Single>
fn execute<'a>( graphrecord: &'a GraphRecord, value: BareStream<'a, V, Single>, condition: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<V: BareValueDomain, D: Diagnostic> LaneKernel<Bare<V>, Single> for RaiseErrorsOf<D>
impl<V: BareValueDomain, D: Diagnostic> LaneKernel<Bare<V>, Single> for RaiseErrorsOf<D>
type Output = OperandHandle<Bare<V>, Single>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: BareStream<'a, V, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<V: BareValueDomain, G: ErrorGroup> LaneKernel<Bare<V>, Single> for RaiseErrorsIn<G>
impl<V: BareValueDomain, G: ErrorGroup> LaneKernel<Bare<V>, Single> for RaiseErrorsIn<G>
type Output = OperandHandle<Bare<V>, Single>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: BareStream<'a, V, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<V: BareValueDomain, E: Error + 'static> LaneKernel<Bare<V>, Single> for RaiseErrorsWithCause<E>
impl<V: BareValueDomain, E: Error + 'static> LaneKernel<Bare<V>, Single> for RaiseErrorsWithCause<E>
type Output = OperandHandle<Bare<V>, Single>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: BareStream<'a, V, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<V, D, C> LaneKernel<Bare<V>, Single> for RaiseWhenErrorsOf<D, C>where
V: BareValueDomain,
D: Diagnostic,
C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,
impl<V, D, C> LaneKernel<Bare<V>, Single> for RaiseWhenErrorsOf<D, C>where
V: BareValueDomain,
D: Diagnostic,
C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,
type Output = OperandHandle<Bare<V>, Single>
fn execute<'a>( graphrecord: &'a GraphRecord, value: BareStream<'a, V, Single>, condition: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<V, G, C> LaneKernel<Bare<V>, Single> for RaiseWhenErrorsIn<G, C>where
V: BareValueDomain,
G: ErrorGroup,
C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,
impl<V, G, C> LaneKernel<Bare<V>, Single> for RaiseWhenErrorsIn<G, C>where
V: BareValueDomain,
G: ErrorGroup,
C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,
type Output = OperandHandle<Bare<V>, Single>
fn execute<'a>( graphrecord: &'a GraphRecord, value: BareStream<'a, V, Single>, condition: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<V, E, C> LaneKernel<Bare<V>, Single> for RaiseWhenErrorsWithCause<E, C>where
V: BareValueDomain,
E: Error + 'static,
C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,
impl<V, E, C> LaneKernel<Bare<V>, Single> for RaiseWhenErrorsWithCause<E, C>where
V: BareValueDomain,
E: Error + 'static,
C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,
type Output = OperandHandle<Bare<V>, Single>
fn execute<'a>( graphrecord: &'a GraphRecord, value: BareStream<'a, V, Single>, condition: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl LaneKernel<Indexed<GraphRecordAttribute, Unit>, Single> for EdgesOperation
impl LaneKernel<Indexed<GraphRecordAttribute, Unit>, Single> for EdgesOperation
type Output = OperandHandle<Indexed<u32, Unit>, Multiple<Unordered>>
fn execute<'a>( graphrecord: &'a GraphRecord, value: KeyedStream<'a, NodeIndex, Unit, Single>, direction: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, stats: &Stats<'_>) -> Estimate
Source§impl LaneKernel<Indexed<GraphRecordAttribute, Unit>, Single> for NeighborsOperation
impl LaneKernel<Indexed<GraphRecordAttribute, Unit>, Single> for NeighborsOperation
type Output = OperandHandle<Indexed<GraphRecordAttribute, Unit>, Multiple<Unordered>>
fn execute<'a>( graphrecord: &'a GraphRecord, value: KeyedStream<'a, NodeIndex, Unit, Single>, direction: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, stats: &Stats<'_>) -> Estimate
Source§impl<E: EntityDomain, I: IndexDomain> LaneKernel<Indexed<I, EntityReference<E>>, Single> for SelectOperation
impl<E: EntityDomain, I: IndexDomain> LaneKernel<Indexed<I, EntityReference<E>>, Single> for SelectOperation
type Output = OperandHandle<Indexed<E, Unit>, Single>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, EntityReference<E>, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<I: IndexDomain> LaneKernel<Indexed<I, EntityReference<GraphRecordAttribute>>, Single> for EdgesOperation
impl<I: IndexDomain> LaneKernel<Indexed<I, EntityReference<GraphRecordAttribute>>, Single> for EdgesOperation
type Output = OperandHandle<Indexed<u32, Unit>, Multiple<Unordered>>
fn execute<'a>( graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, EntityReference<NodeIndex>, Single>, direction: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, stats: &Stats<'_>) -> Estimate
Source§impl<I: IndexDomain> LaneKernel<Indexed<I, EntityReference<GraphRecordAttribute>>, Single> for NeighborsOperation
impl<I: IndexDomain> LaneKernel<Indexed<I, EntityReference<GraphRecordAttribute>>, Single> for NeighborsOperation
type Output = OperandHandle<Indexed<GraphRecordAttribute, Unit>, Multiple<Unordered>>
fn execute<'a>( graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, EntityReference<NodeIndex>, Single>, direction: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, stats: &Stats<'_>) -> Estimate
Source§impl<I: IndexDomain> LaneKernel<Indexed<I, EntityReference<u32>>, Single> for NodesOperation
impl<I: IndexDomain> LaneKernel<Indexed<I, EntityReference<u32>>, Single> for NodesOperation
type Output = OperandHandle<Indexed<GraphRecordAttribute, Unit>, Multiple<Unordered>>
fn execute<'a>( graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, EntityReference<EdgeIndex>, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, stats: &Stats<'_>) -> Estimate
Source§impl<I: IndexDomain, V: ValueDomain> LaneKernel<Indexed<I, V>, Single> for CountOperation
impl<I: IndexDomain, V: ValueDomain> LaneKernel<Indexed<I, V>, Single> for CountOperation
type Output = OperandHandle<Bare<Scalar>, Definite>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, V, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, _input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<I: IndexDomain, V: ValueDomain> LaneKernel<Indexed<I, V>, Single> for Raise
impl<I: IndexDomain, V: ValueDomain> LaneKernel<Indexed<I, V>, Single> for Raise
type Output = OperandHandle<Indexed<I, V>, Single>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, V, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<I, V, C> LaneKernel<Indexed<I, V>, Single> for RaiseWhen<C>
impl<I, V, C> LaneKernel<Indexed<I, V>, Single> for RaiseWhen<C>
type Output = OperandHandle<Indexed<I, V>, Single>
fn execute<'a>( graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, V, Single>, condition: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<I: IndexDomain, V: ValueDomain, D: Diagnostic> LaneKernel<Indexed<I, V>, Single> for RaiseErrorsOf<D>
impl<I: IndexDomain, V: ValueDomain, D: Diagnostic> LaneKernel<Indexed<I, V>, Single> for RaiseErrorsOf<D>
type Output = OperandHandle<Indexed<I, V>, Single>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, V, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<I: IndexDomain, V: ValueDomain, G: ErrorGroup> LaneKernel<Indexed<I, V>, Single> for RaiseErrorsIn<G>
impl<I: IndexDomain, V: ValueDomain, G: ErrorGroup> LaneKernel<Indexed<I, V>, Single> for RaiseErrorsIn<G>
type Output = OperandHandle<Indexed<I, V>, Single>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, V, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<I: IndexDomain, V: ValueDomain, E: Error + 'static> LaneKernel<Indexed<I, V>, Single> for RaiseErrorsWithCause<E>
impl<I: IndexDomain, V: ValueDomain, E: Error + 'static> LaneKernel<Indexed<I, V>, Single> for RaiseErrorsWithCause<E>
type Output = OperandHandle<Indexed<I, V>, Single>
fn execute<'a>( _graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, V, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<I, V, D, C> LaneKernel<Indexed<I, V>, Single> for RaiseWhenErrorsOf<D, C>where
I: IndexDomain,
V: ValueDomain,
D: Diagnostic,
C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,
impl<I, V, D, C> LaneKernel<Indexed<I, V>, Single> for RaiseWhenErrorsOf<D, C>where
I: IndexDomain,
V: ValueDomain,
D: Diagnostic,
C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,
type Output = OperandHandle<Indexed<I, V>, Single>
fn execute<'a>( graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, V, Single>, condition: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<I, V, G, C> LaneKernel<Indexed<I, V>, Single> for RaiseWhenErrorsIn<G, C>where
I: IndexDomain,
V: ValueDomain,
G: ErrorGroup,
C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,
impl<I, V, G, C> LaneKernel<Indexed<I, V>, Single> for RaiseWhenErrorsIn<G, C>where
I: IndexDomain,
V: ValueDomain,
G: ErrorGroup,
C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,
type Output = OperandHandle<Indexed<I, V>, Single>
fn execute<'a>( graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, V, Single>, condition: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl<I, V, E, C> LaneKernel<Indexed<I, V>, Single> for RaiseWhenErrorsWithCause<E, C>where
I: IndexDomain,
V: ValueDomain,
E: Error + 'static,
C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,
impl<I, V, E, C> LaneKernel<Indexed<I, V>, Single> for RaiseWhenErrorsWithCause<E, C>where
I: IndexDomain,
V: ValueDomain,
E: Error + 'static,
C: ArgumentSource<Unaligned, Mask, Retention = Preserving>,
type Output = OperandHandle<Indexed<I, V>, Single>
fn execute<'a>( graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, V, Single>, condition: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate
Source§impl LaneKernel<Indexed<u32, Unit>, Single> for NodesOperation
impl LaneKernel<Indexed<u32, Unit>, Single> for NodesOperation
type Output = OperandHandle<Indexed<GraphRecordAttribute, Unit>, Multiple<Unordered>>
fn execute<'a>( graphrecord: &'a GraphRecord, value: KeyedStream<'a, EdgeIndex, Unit, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>
fn estimate(&self, input: Estimate, stats: &Stats<'_>) -> Estimate
Source§impl<S: ElementShape> PartitionArity<S> for Single
impl<S: ElementShape> PartitionArity<S> for Single
fn into_elements<'a>(
container: Self::Container<'a, S::Element<'a>>,
) -> BoxedIterator<'a, S::Element<'a>>where
S: 'a,
fn from_bucket<'a>(
elements: Vec<S::Element<'a>>,
) -> QueryResult<Self::Container<'a, S::Element<'a>>>where
S: 'a,
Source§impl<V: BareValueDomain> PreparedArity<Bare<V>> for Single
impl<V: BareValueDomain> PreparedArity<Bare<V>> for Single
Source§impl<I: IndexDomain, V: ValueDomain> PreparedArity<Indexed<I, V>> for Single
impl<I: IndexDomain, V: ValueDomain> PreparedArity<Indexed<I, V>> for Single
type Prepared<'a> = Option<(<I as IndexDomain>::Index<'a>, Result<<V as ValueDomain>::Value<'a>, Box<Failure>>)> where Indexed<I, V>: 'a
fn prepare<'a>(
container: Self::Container<'a, <Indexed<I, V> as ElementShape>::Element<'a>>,
) -> QueryResult<Self::Prepared<'a>>where
Indexed<I, V>: 'a,
Auto Trait Implementations§
impl Freeze for Single
impl RefUnwindSafe for Single
impl Send for Single
impl Sync for Single
impl Unpin for Single
impl UnsafeUnpin for Single
impl UnwindSafe for Single
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more