[][src]Struct async_graphql::SubscriptionStub

pub struct SubscriptionStub<Query, Mutation, Subscription> { /* fields omitted */ }

Subscription stub

When a new push message is generated, a JSON object that needs to be pushed can be obtained by Subscribe::resolve, and if None is returned, the Subscribe is not subscribed to a message of this type.

Auto Trait Implementations

impl<Query, Mutation, Subscription> !RefUnwindSafe for SubscriptionStub<Query, Mutation, Subscription>

impl<Query, Mutation, Subscription> Send for SubscriptionStub<Query, Mutation, Subscription> where
    Mutation: Send + Sync,
    Query: Send + Sync,
    Subscription: Send + Sync

impl<Query, Mutation, Subscription> Sync for SubscriptionStub<Query, Mutation, Subscription> where
    Mutation: Send + Sync,
    Query: Send + Sync,
    Subscription: Send + Sync

impl<Query, Mutation, Subscription> Unpin for SubscriptionStub<Query, Mutation, Subscription>

impl<Query, Mutation, Subscription> !UnwindSafe for SubscriptionStub<Query, Mutation, Subscription>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,