Skip to main content

ParamKey

Trait ParamKey 

Source
pub trait ParamKey:
    Send
    + Sync
    + 'static {
    const NAME: &'static str;
}
Expand description

The name of a route parameter, as a type. See param_key!.

Required Associated Constants§

Source

const NAME: &'static str

The parameter’s name.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§