Skip to main content

Raise

Struct Raise 

Source
pub struct Raise;

Implementations§

Source§

impl Raise

Source

pub const fn when<C>(self, condition: C) -> RaiseWhen<C>

Trait Implementations§

Source§

impl<I: Apply<RaiseBucketErrors>> BucketErrorPolicy<I> for Raise

Source§

type Output = <I as Apply<RaiseBucketErrors>>::Output

Source§

fn build(&self, input: I) -> Self::Output

Source§

impl<I: Apply<RaiseBucketErrorsIn<G>>, G: ErrorGroup> BucketErrorPolicyIn<I, G> for Raise

Source§

type Output = <I as Apply<RaiseBucketErrorsIn<G>>>::Output

Source§

fn build(&self, input: I) -> Self::Output

Source§

impl<I: Apply<RaiseBucketErrorsOf<D>>, D: Diagnostic> BucketErrorPolicyOf<I, D> for Raise

Source§

type Output = <I as Apply<RaiseBucketErrorsOf<D>>>::Output

Source§

fn build(&self, input: I) -> Self::Output

Source§

impl<I: Apply<RaiseBucketErrorsWithCause<E>>, E: Error + 'static> BucketErrorPolicyWithCause<I, E> for Raise

Source§

type Output = <I as Apply<RaiseBucketErrorsWithCause<E>>>::Output

Source§

fn build(&self, input: I) -> Self::Output

Source§

impl Clone for Raise

Source§

fn clone(&self) -> Raise

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<I: Apply<Self>> ErrorPolicy<I> for Raise

Source§

type Output = <I as Apply<Raise>>::Output

Source§

fn build(&self, input: I) -> Self::Output

Source§

impl<I: Apply<RaiseErrorsIn<G>>, G: ErrorGroup> ErrorPolicyIn<I, G> for Raise

Source§

type Output = <I as Apply<RaiseErrorsIn<G>>>::Output

Source§

fn build(&self, input: I) -> Self::Output

Source§

impl<I: Apply<RaiseErrorsOf<D>>, D: Diagnostic> ErrorPolicyOf<I, D> for Raise

Source§

type Output = <I as Apply<RaiseErrorsOf<D>>>::Output

Source§

fn build(&self, input: I) -> Self::Output

Source§

impl<I: Apply<RaiseErrorsWithCause<E>>, E: Error + 'static> ErrorPolicyWithCause<I, E> for Raise

Source§

type Output = <I as Apply<RaiseErrorsWithCause<E>>>::Output

Source§

fn build(&self, input: I) -> Self::Output

Source§

impl Explain for Raise

Source§

fn describe<'__explain>( &'__explain self, formatter: &mut ExplainFormatter<'__explain, '_>, ) -> Result

Source§

impl<I: Apply<RaiseKeyErrors>> KeyErrorPolicy<I> for Raise

Source§

type Output = <I as Apply<RaiseKeyErrors>>::Output

Source§

fn build(&self, input: I) -> Self::Output

Source§

impl<I: Apply<RaiseKeyErrorsIn<G>>, G: ErrorGroup> KeyErrorPolicyIn<I, G> for Raise

Source§

type Output = <I as Apply<RaiseKeyErrorsIn<G>>>::Output

Source§

fn build(&self, input: I) -> Self::Output

Source§

impl<I: Apply<RaiseKeyErrorsOf<D>>, D: Diagnostic> KeyErrorPolicyOf<I, D> for Raise

Source§

type Output = <I as Apply<RaiseKeyErrorsOf<D>>>::Output

Source§

fn build(&self, input: I) -> Self::Output

Source§

impl<I: Apply<RaiseKeyErrorsWithCause<E>>, E: Error + 'static> KeyErrorPolicyWithCause<I, E> for Raise

Source§

type Output = <I as Apply<RaiseKeyErrorsWithCause<E>>>::Output

Source§

fn build(&self, input: I) -> Self::Output

Source§

impl Labeled for Raise

Source§

const LABEL: &'static str = "Raise"

Source§

impl<V: BareValueDomain> LaneKernel<Bare<V>, Definite> for Raise

Source§

type Output = OperandHandle<Bare<V>, Definite>

Source§

fn execute<'a>( _graphrecord: &'a GraphRecord, value: BareStream<'a, V, Definite>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>

Source§

fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate

Source§

impl<V: BareValueDomain, O: OrderState> LaneKernel<Bare<V>, Multiple<O>> for Raise

Source§

type Output = OperandHandle<Bare<V>, Multiple<O>>

Source§

fn execute<'a>( _graphrecord: &'a GraphRecord, values: BareStream<'a, V, Multiple<O>>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>

Source§

fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate

Source§

impl<V: BareValueDomain> LaneKernel<Bare<V>, Single> for Raise

Source§

type Output = OperandHandle<Bare<V>, Single>

Source§

fn execute<'a>( _graphrecord: &'a GraphRecord, value: BareStream<'a, V, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>

Source§

fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate

Source§

impl<I: IndexDomain, V: ValueDomain> LaneKernel<Indexed<I, V>, Definite> for Raise

Source§

type Output = OperandHandle<Indexed<I, V>, Definite>

Source§

fn execute<'a>( _graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, V, Definite>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>

Source§

fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate

Source§

impl<I: IndexDomain, V: ValueDomain, O: OrderState> LaneKernel<Indexed<I, V>, Multiple<O>> for Raise

Source§

type Output = OperandHandle<Indexed<I, V>, Multiple<O>>

Source§

fn execute<'a>( _graphrecord: &'a GraphRecord, values: KeyedStream<'a, I, V, Multiple<O>>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>

Source§

fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate

Source§

impl<I: IndexDomain, V: ValueDomain> LaneKernel<Indexed<I, V>, Single> for Raise

Source§

type Output = OperandHandle<Indexed<I, V>, Single>

Source§

fn execute<'a>( _graphrecord: &'a GraphRecord, value: KeyedStream<'a, I, V, Single>, _prepared: Self::Prepared<'a>, ) -> QueryResult<<Self::Output as EvaluateOperand>::ReturnValue<'a>>

Source§

fn estimate(&self, input: Estimate, _stats: &Stats<'_>) -> Estimate

Source§

impl Operation for Raise

Source§

impl OperationInputs for Raise

Source§

type Inputs<'__inputs, __Primary: '__inputs> = (&'__inputs __Primary,)

Source§

fn inputs<'__inputs, __Primary: '__inputs>( &'__inputs self, primary: &'__inputs __Primary, ) -> Self::Inputs<'__inputs, __Primary>

Source§

impl OptimizerHints for Raise

Source§

impl PlanIdentity for Raise

Source§

fn identity_eq(&self, other: &Self) -> bool

Source§

fn identity_hash<__Hasher: Hasher>(&self, state: &mut __Hasher)

Source§

impl PlanInputs for Raise

Source§

fn inputs(&self) -> Vec<&dyn PlanNode>

Source§

fn optimize(&self, session: &Session<'_>) -> Transformed<Self>

Source§

impl Prepare for Raise

Source§

type Prepared<'a> = ()

Source§

fn prepare<'a>( &'a self, _graphrecord: &'a GraphRecord, _cache: &'a EvaluationCache<'a>, ) -> QueryResult<Self::Prepared<'a>>

Auto Trait Implementations§

§

impl Freeze for Raise

§

impl RefUnwindSafe for Raise

§

impl Send for Raise

§

impl Sync for Raise

§

impl Unpin for Raise

§

impl UnsafeUnpin for Raise

§

impl UnwindSafe for Raise

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<S, T> ExpandTo<T> for S

Source§

type ReturnOperand = <T as Apply<ExpandToOperation<S>>>::Output

Source§

fn expand_to(&self, template: &T) -> <S as ExpandTo<T>>::ReturnOperand

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Key for T
where T: Clone,

Source§

fn align() -> usize

The alignment necessary for the key. Must return a power of two.
Source§

fn size(&self) -> usize

The size of the key in bytes.
Source§

unsafe fn init(&self, ptr: *mut u8)

Initialize the key in the given memory location. Read more
Source§

unsafe fn get<'a>(ptr: *const u8) -> &'a T

Get a reference to the key from the given memory location. Read more
Source§

unsafe fn drop_in_place(ptr: *mut u8)

Drop the key in place. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

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

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V