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