Struct async_graphql::extensions::NextValidation
source · [−]pub struct NextValidation<'a> { /* private fields */ }
Expand description
The remainder of a extension chain for validation.
Implementations
sourceimpl<'a> NextValidation<'a>
impl<'a> NextValidation<'a>
sourcepub 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
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