async_graphql::types::connection

Trait EdgeNameType

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

Used to specify the edge name.

Required Methods§

Source

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

Returns the edge 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§