Skip to main content

IntoFlow

Trait IntoFlow 

Source
pub trait IntoFlow {
    // Required method
    fn into_flow(self) -> Flow;
}
Expand description

What a handler may return: nothing (Continue), whether to let it happen (false cancels), or a Flow.

Required Methods§

Source

fn into_flow(self) -> Flow

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoFlow for ()

Source§

impl IntoFlow for bool

Implementors§