async_graphql::types::connection

Trait ConnectionNameType

Source
pub trait ConnectionNameType: Send + Sync {
    // Required method
    fn type_name<T: OutputType>() -> String;
}
Expand description

Used to specify the connection name.

Required Methods§

Source

fn type_name<T: OutputType>() -> String

Returns the connection type name.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§