pub trait OutputAlg<From> {
type Output;
// Required method
fn output(from: From) -> Self::Output;
}Expand description
Transforms an inferred handler result into its portable API output.
Converter families are selected from an endpoint’s output kind. The handler
result supplies From, so API declarations never repeat it.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".