Context

Trait Context 

Source
pub trait Context: Debug + Sized {
    // Required method
    fn coerce_custom_scalar_input<const CONST: bool>(
        cstd: &CustomScalarTypeDefinition<'_, Self>,
        value: &impl Value<CONST>,
    ) -> Result<(), Cow<'static, str>>;
}

Required Methods§

Source

fn coerce_custom_scalar_input<const CONST: bool>( cstd: &CustomScalarTypeDefinition<'_, Self>, value: &impl Value<CONST>, ) -> Result<(), Cow<'static, str>>

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§