Skip to main content

BuilderExt

Trait BuilderExt 

Source
pub trait BuilderExt<R: Runtime> {
    // Required methods
    fn taba(self, router: Router) -> WithTaba<R>;
    fn taba_with_fallback<F>(self, router: Router, fallback: F) -> WithTaba<R>
       where F: Fn(Invoke<R>) -> bool + Send + Sync + 'static;
}
Expand description

Helpers for WithTaba.

Required Methods§

Source

fn taba(self, router: Router) -> WithTaba<R>

Source

fn taba_with_fallback<F>(self, router: Router, fallback: F) -> WithTaba<R>
where F: Fn(Invoke<R>) -> bool + Send + Sync + 'static,

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.

Implementations on Foreign Types§

Source§

impl<R: Runtime> BuilderExt<R> for Builder<R>

Source§

fn taba(self, router: Router) -> WithTaba<R>

Source§

fn taba_with_fallback<F>(self, router: Router, fallback: F) -> WithTaba<R>
where F: Fn(Invoke<R>) -> bool + Send + Sync + 'static,

Implementors§