Enum async_graphql::context::QueryPathSegment
source ·
[−]Expand description
A segment in the path to the current query.
This is a borrowed form of PathSegment
used during execution instead
of passed back when errors occur.
Variants
Index(usize)
Tuple Fields
0: usize
We are currently resolving an element in a list.
Name(&'a str)
Tuple Fields
0: &'a str
We are currently resolving a field in an object.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for QueryPathSegment<'a>
impl<'a> Send for QueryPathSegment<'a>
impl<'a> Sync for QueryPathSegment<'a>
impl<'a> Unpin for QueryPathSegment<'a>
impl<'a> UnwindSafe for QueryPathSegment<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more