pub trait ContentTypeMarker:
Send
+ Sync
+ 'static {
const CONTENT_TYPE: &'static str;
}Expand description
A content type marker.
Required Associated Constants§
Sourceconst CONTENT_TYPE: &'static str
const CONTENT_TYPE: &'static str
The expected Content-Type header value.
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.