Trait async_graphql::SubscriptionType
source · pub trait SubscriptionType: Send + Sync {
// Required methods
fn type_name() -> Cow<'static, str>;
fn create_type_info(registry: &mut Registry) -> String;
// Provided method
fn qualified_type_name() -> String { ... }
}
Expand description
A GraphQL subscription object
Required Methods§
sourcefn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
Provided Methods§
sourcefn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
Object Safety§
This trait is not object safe.