pub trait Mountable<D> {
// Required method
fn mount<S: Into<String>, M: Middleware<D>>(
&mut self,
mount_point: S,
middleware: M,
);
}Required Methods§
fn mount<S: Into<String>, M: Middleware<D>>( &mut self, mount_point: S, middleware: M, )
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.