Struct async_graphql::extensions::NextPrepareRequest
source · [−]pub struct NextPrepareRequest<'a> { /* private fields */ }
Expand description
The remainder of a extension chain for subscribe.
Implementations
sourceimpl<'a> NextPrepareRequest<'a>
impl<'a> NextPrepareRequest<'a>
sourcepub async fn run(
self,
ctx: &ExtensionContext<'_>,
request: Request
) -> ServerResult<Request>
pub async fn run(
self,
ctx: &ExtensionContext<'_>,
request: Request
) -> ServerResult<Request>
Call the Extension::prepare_request function of next extension.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for NextPrepareRequest<'a>
impl<'a> Send for NextPrepareRequest<'a>
impl<'a> Sync for NextPrepareRequest<'a>
impl<'a> Unpin for NextPrepareRequest<'a>
impl<'a> !UnwindSafe for NextPrepareRequest<'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