pub trait IntoMiddleware {
// Required method
fn into_group(self) -> MiddlewareGroup;
}Expand description
A type that a job’s middleware method may return.
The supported types are a Middleware, a MiddlewareGroup, an Option of either, and a
tuple of these.
Required Methods§
Sourcefn into_group(self) -> MiddlewareGroup
fn into_group(self) -> MiddlewareGroup
Convert the value into a middleware group.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".