pub trait OutputKindAlg<Interpreter: ?Sized, From> {
type Transform;
}Expand description
Resolves a portable output kind through an interpreter.
Required Associated Types§
Sourcetype Transform
type Transform
The concrete converter chosen by Interpreter for this output kind.
That the converter reads From is required where the endpoint is compiled rather than
here, so a kind may answer for some results and not others. An endpoint stating no body
converts a handler that returns nothing, and an endpoint stating a failure converts a
handler that can fail.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".