Struct async_graphql::extensions::NextValidation [−][src]
pub struct NextValidation<'a> { /* fields omitted */ }
Expand description
The remainder of a extension chain for validation.
Implementations
pub async fn run(
self,
ctx: &ExtensionContext<'_>
) -> Result<ValidationResult, Vec<ServerError>>
pub async fn run(
self,
ctx: &ExtensionContext<'_>
) -> Result<ValidationResult, Vec<ServerError>>
Call the Extension::validation function of next extension.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for NextValidation<'a>
impl<'a> Send for NextValidation<'a>
impl<'a> !Sync for NextValidation<'a>
impl<'a> Unpin for NextValidation<'a>
impl<'a> !UnwindSafe for NextValidation<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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