Trait StaticResource

Source
pub trait StaticResource
where Self: Sized,
{ // Required methods fn content_type(&self) -> ContentType; fn description(&self) -> &'static str; fn into_handler_dyn(self) -> HandlerDynArc; }

Required Methods§

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§