pub trait IntoRoutine<Ctx, Input, Output, Marker>: Sized {
type Routine: Routine<Ctx, In = Input, Out = Output>;
// Required method
fn into_routine(this: Self) -> Self::Routine;
// Provided method
fn with_name(self, name: impl Into<String>) -> IntoNamedRoutine<Ctx, Self> { ... }
}Required Associated Types§
Required Methods§
fn into_routine(this: Self) -> Self::Routine
Provided 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.