Skip to main content

HeaderName

Trait HeaderName 

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

Names the header that a Header extractor reads.

Required Associated Constants§

Source

const NAME: &'static str

The header name, lower-case.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§