[][src]Struct async_graphql::SubscribeBuilder

pub struct SubscribeBuilder<'a, Subscription> { /* fields omitted */ }

Subscribe builder

Methods

impl<'a, Subscription> SubscribeBuilder<'a, Subscription> where
    Subscription: SubscriptionType, 
[src]

pub fn operator_name(self, name: &'a str) -> Self[src]

Specify the operation name.

pub fn variables(self, vars: Variables) -> Self[src]

Specify the variables.

pub fn execute(self) -> Result<Subscribe>[src]

Perform a subscription operation and return Subscribe.

Auto Trait Implementations

impl<'a, Subscription> !RefUnwindSafe for SubscribeBuilder<'a, Subscription>

impl<'a, Subscription> Send for SubscribeBuilder<'a, Subscription> where
    Subscription: Sync

impl<'a, Subscription> Sync for SubscribeBuilder<'a, Subscription> where
    Subscription: Sync

impl<'a, Subscription> Unpin for SubscribeBuilder<'a, Subscription>

impl<'a, Subscription> !UnwindSafe for SubscribeBuilder<'a, 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> Same<T> for T

type Output = T

Should always be Self

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>,