Struct async_graphql::extensions::Tracing
source · [−]pub struct Tracing;
Available on crate feature
tracing
only.Expand description
Tracing extension
References
https://crates.io/crates/tracing
Examples
use async_graphql::{extensions::Tracing, *};
#[derive(SimpleObject)]
struct Query {
value: i32,
}
let schema = Schema::build(Query { value: 100 }, EmptyMutation, EmptySubscription)
.extension(Tracing)
.finish();
schema.execute(Request::new("{ value }")).await;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Tracing
impl Send for Tracing
impl Sync for Tracing
impl Unpin for Tracing
impl UnwindSafe for Tracing
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more