Struct juniper::executor::ExecutionError [−][src]
pub struct ExecutionError<S> { /* fields omitted */ }
Expand description
Error type for errors that occur during query execution
All execution errors contain the source position in the query of the field that failed to resolve. It also contains the field stack.
Implementations
impl<S> ExecutionError<S>
[src]
impl<S> ExecutionError<S>
[src]pub fn at_origin(error: FieldError<S>) -> ExecutionError<S>
[src]
pub fn at_origin(error: FieldError<S>) -> ExecutionError<S>
[src]Construct a new execution error occuring at the beginning of the query
impl<S> ExecutionError<S>
[src]
impl<S> ExecutionError<S>
[src]Trait Implementations
impl<S: Debug> Debug for ExecutionError<S>
[src]
impl<S: Debug> Debug for ExecutionError<S>
[src]impl<S> Ord for ExecutionError<S> where
Self: Eq,
[src]
impl<S> Ord for ExecutionError<S> where
Self: Eq,
[src]impl<S: PartialEq> PartialEq<ExecutionError<S>> for ExecutionError<S>
[src]
impl<S: PartialEq> PartialEq<ExecutionError<S>> for ExecutionError<S>
[src]fn eq(&self, other: &ExecutionError<S>) -> bool
[src]
fn eq(&self, other: &ExecutionError<S>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &ExecutionError<S>) -> bool
[src]
fn ne(&self, other: &ExecutionError<S>) -> bool
[src]This method tests for !=
.
impl<S> PartialOrd<ExecutionError<S>> for ExecutionError<S> where
Self: PartialEq,
[src]
impl<S> PartialOrd<ExecutionError<S>> for ExecutionError<S> where
Self: PartialEq,
[src]fn partial_cmp(&self, other: &ExecutionError<S>) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &ExecutionError<S>) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<T> Serialize for ExecutionError<T> where
T: ScalarValue,
[src]
impl<T> Serialize for ExecutionError<T> where
T: ScalarValue,
[src]impl<S> Eq for ExecutionError<S> where
Self: PartialEq,
[src]
Self: PartialEq,
impl<S> StructuralPartialEq for ExecutionError<S>
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for ExecutionError<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for ExecutionError<S> where
S: Send,
S: Send,
impl<S> Sync for ExecutionError<S> where
S: Sync,
S: Sync,
impl<S> Unpin for ExecutionError<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for ExecutionError<S> where
S: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,