Trait PayloadDetect
Other items inviz::prelude::types
pub trait PayloadDetect { fn detect(&Mime) -> bool { ... } }
Payload Content Type Detection
fn detect(&Mime) -> bool
Detects the request’s content-type
impl PayloadDetect for FormData<Body>
pub fn detect(m: &Mime) -> bool
impl PayloadDetect for Form<()>
impl PayloadDetect for Json<()>